MySQL Forums
Forum List  »  Newbie

Storing images as longblob
Posted by: Antonio Carvalho
Date: February 23, 2006 05:14PM

I´m trying to create a php website that stores information in MySql. My problem is I can´t seem to insert images into the database. I´m using a form and all the information in the text fields is inserted all right, but the image I upload using <input type="file"> is not, it just inserts the name of the file, but not the file itself. My form has the enctype="multipart/form-data", and I´m using mysql_query to run the insert statement. Any ideas on what I may be doing wrong would be a great help.
Thanks in advance,

Antonio

Options: ReplyQuote


Subject
Written By
Posted
Storing images as longblob
February 23, 2006 05:14PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.