Excellent. This is exactly the kind of thing I'm looking for:
"Insert Into $PhotoTable
(title, auth_id, description, category, body, cr_date, type)
values ('$title', '$auth_id', '$desc', '$cat',
'$image','$date','$type')";
I can hardly wait until the book I'm working through gets to
where I can use this.
Thanks
>>> [EMAIL PROTECTED] 2/23/2001 9:54:57 AM >>>
This is ancient, and I haven't tried it, but you may find it
useful.
---
/* Image Database Functions
by: J. Patrick Ryans [EMAIL PROTECTED] July 1998
The following are provided niether with copyright or warranty.
I do not
believe that any of the code in this file is copyrighted by
anyone else, but
if it is, please let me know.
I gathered these functions from a larger php3 project to
manage a
large and dynamic web site by keeping all html, images, and
other file
contained in a MySQL database. I couldn't find one single
example that
explained how to insert binary images into a database and then
extract them
and display it to the browser.
The two major functions needed to load and display images are
shown below,
< Snipped >