Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $query = $pdo->prepare("SELECT restaurant.* FROM carrot_town");
- $query->bindValue();
- $query->execute();
- $restaurants = $query->fetch();
- foreach ($pdo->query($restaurants) as $restaurant) {
- echo $restaurant;
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement