Advertisement
rawyon

Untitled

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