Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $id = $_REQUEST('id');
- $stmt = $dbh->prepare("SELECT * FROM store WHERE id = $id");
- $image = $stmt->fetch(PDO::FETCH_ASSOC);
- $image =($stmt->bindParam('id', $id);
- $stmt->execute();)
- $image = $image['image'];
- echo $image;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement