Another Image prob
| From: | Todd Moy | Date: | Fri, 14 Sep 2001 18:46:28 +0000 |
| Subject: | Another Image prob | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-12461@lists.php.net to get a copy of this message | ||
I'm new at this and i'm sure that this has been answered before, but
anyway...
I am trying to retrieve images from a MySQL database. They are stored as
BLOBs with the following table format:
Database metonym_metonym - table imgs
Field Type Attributes Null Default Extra
fk_proj_id int(3) No 0
imgname varchar(30)
imgtype varchar(20)
img blob
Keyname Unique Field
PRIMARY Yes fk_proj_id
Is it possible to do this with a printf/ img src statement?
Also, I have heard some talk about header information on retrieval-> how
does this relate to retrieving an image?
Bear in mind that these images are being uploaded via HTML form
Thanks in advance
METONYM
--