MySQL offers TINYBLOB, BLOB, MEDIUMBLOB and LONGBLOB just INSERT into the
appropriate column a variable that refers to the picture, there's a bit of
javascript that will allow you to put a file browser button into your html
but i'm damned if i can remember what it is
Larry Price | "We have seen the truth.
[EMAIL PROTECTED] | And the truth makes no sense." -chesterton
_______________________________________________________________
On Thu, 22 Feb 2001, Bob Crandell wrote:
> Hi,
> I'm using Apache/PHP/MySQL to learn SQL. Besides dazzling
> people with my prowess, I'd like to be able to store digital
> pictures in the database. So far, I've gotten to the chapter
> that creates a form to type in a product code, description and
> price. Yawn.
> Does anyone know the SQL code to insert a binary file into a
> MySQL database? What type of field does it take? I didn't see
> mention of a blob. Maybe that's the next book.
>
> Thanks
>