Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $mysqli = new mysqli(HOST, USER, PASSWORD, DATABASE);
- $mysqli-> set_charset("utf8");
- $stmt = $mysqli->prepare("select header, title, footer, head from configs");
- $stmt -> execute();
- $stmt -> bind_result($header, $title, $footer, $head);
- $stmt -> fetch();
- echo $header;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement