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