image or picture insertion in mysql database

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
vapanchamukhi
Forum Newbie
Posts: 5
Joined: Thu Nov 06, 2008 3:51 am

image or picture insertion in mysql database

Post by vapanchamukhi »

I have written a program which actually has to upload the image into the database.so i need help in reading image or picture in the html form. i also want to know how this should be sent to the server side which i have written using php. and also tell me how to insert that image into the mysql database and retrieve it from the same. Thanks in advance.
User avatar
requinix
Spammer :|
Posts: 6617
Joined: Wed Oct 15, 2008 2:35 am
Location: WA, USA

Re: image or picture insertion in mysql database

Post by requinix »

You don't want to store images in a database. It's a hassle that you'll regret later. Store them as files on the server.

Uploading a file with a form
Post Reply