I found a solution to this on the web somewhere. What they did was create
image.php wich extracts your image from the DB and echo's it to the page after
sending the correct content type header. Then in your other .php's/.html's
use...
<img src=image.php?name=TEST.jpg>

James

-----Original Message-----
From: Félix García Renedo [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, May 29, 2002 1:09 PM
To: php
Subject: [PHP] Show an image


Hello everybody,
    I want to know how to show an image saved into a field of a database into a
web page.
    I tried to print <img src=FIELD> but it shows ascii codes.

Thanks in advance.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to