Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require 'db.inc.php';
- $query = $conn->prepare("SELECT * FROM test WHERE test_name LIKE ?");
- $query->execute(array($variable));
- while ($results = $query->fetch())
- {
- //gør noget ved resultat
- }
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment