php-db | 2001072
Date: 07/29/01
- Next message: David Balatero: "RE: [PHP-DB] How to I fetch an image file from /tmp directory?"
- Previous message: Dave Watkinson: "RE: [PHP-DB] replace string - case insensitive"
- Next in thread: David Balatero: "RE: [PHP-DB] How to I fetch an image file from /tmp directory?"
- Reply: David Balatero: "RE: [PHP-DB] How to I fetch an image file from /tmp directory?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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>";
=====
Mark
eyesyte <email protected>
__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
-- PHP Database Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-db-unsubscribe <email protected> For additional commands, e-mail: php-db-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: David Balatero: "RE: [PHP-DB] How to I fetch an image file from /tmp directory?"
- Previous message: Dave Watkinson: "RE: [PHP-DB] replace string - case insensitive"
- Next in thread: David Balatero: "RE: [PHP-DB] How to I fetch an image file from /tmp directory?"
- Reply: David Balatero: "RE: [PHP-DB] How to I fetch an image file from /tmp directory?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

