Advertisement
rawyon

Untitled

May 4th, 2011
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.23 KB | None | 0 0
  1. <?php
  2.  
  3. $id = $_REQUEST('id');
  4.  
  5. $image = $stmt = $dbh->prepare("SELECT * FROM store WHERE id = :id");
  6. $stmt->bindParam('id', $id);
  7. $stmt->execute();
  8.  
  9. //$image = mysql_fetch_assoc();
  10.  
  11. $image = $image['image'];
  12. echo $image;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement