image or file don't insert into database table

image or file don't insert into database table

Page 1 of 1

1 Replies - 1028 Views - Last Post: 04 March 2009 - 02:12 AM Rate Topic: -----

#1 are_fin  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 02-March 09

image or file don't insert into database table

Post icon  Posted 04 March 2009 - 01:48 AM

<td><input type="file" name="avatar" size="15"></td>
Is This A Good Question/Topic? 0
  • +

Replies To: image or file don't insert into database table

#2 AlienWebguy  Icon User is offline

  • D.I.C Head

Reputation: 9
  • View blog
  • Posts: 84
  • Joined: 04-March 09

Re: image or file don't insert into database table

Posted 04 March 2009 - 02:12 AM

There are a ton of things that could be causing you issues here. I generally never insert files into a database - I upload them and insert the file name into the database as a reference, but to each his own.

I'll assume that what you posted isn't the entirety of your form...did you include enctype="multipart/form-data" into your form tag?

Include your whole form if the above didn't fix your issue.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1