If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Uploading image and storing it in MySQL Database

Hi there guys can someone help me with this simple profile code. Everything is perfect I just wanna store Profile Pictures in the database. Can someone help me add simple code to upload photo to database???
My code is as follows

First just pick a place were you want to upload the photos eg. $path = './photos/'; and add to the table you use something like picture varchar(255). and when you upload the picture just add the name of the photo to sql and when you want to see it you use $path.$name...