Thanks, David. That helped a little but now what I get is:
<img src=/tmp/phpMVWr5Z> in the output.
The tmp folder is up the directory tree outside of my www folder (on my
web host's 'puter)- I don't have direct access to it.
Heres the modified code:
$sql=mysql_query("SELECT bin_data FROM binary_data WHERE id=4");
$row = mysql_fetch_array($sql);
echo "<img src=$row>";
How can I use the path stored in the db to retrieve the image?
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]