Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $dbHost = 'localhost';
- $dbUsername = 'root';
- $dbPassword = '';
- $dbName = 'pinceszet';
- //Create connection and select DB
- $db = new mysqli($dbHost, $dbUsername, $dbPassword, $dbName);
- $db->set_charset("utf8");
- $stmt = $db->prepare("select * from borok where id=?");
- $stmt->bind_param('i',$item["id"]);
- $stmt->execute();
- $result = $stmt->get_result();
- while($row=$result->fetch_array(MYSQLI_ASSOC))
- {
- echo $row['kosar_kep'];
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement