Advertisement
rawyon

Untitled

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