I am inserting binary image data into a mysql table  (mediumblob).
Actually, what goes into the table is the /tmp...  pathname.

This is the code I used to try to retrieve, but I get "Resource ID#2" 

$get=mysql_query("SELECT bin_data FROM binary_data WHERE id=$id");
print"<img src=$get>";


Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to