PHP & MySQL :: Need tutorial!

Associate
Joined
21 Sep 2007
Posts
453
I am looking for information on how to add a small profile of a person (name, description, email etc) and upload an image that will be saved to a folder on the server

The only tutorials i can find deal with uploading an image into the MySQL DB as a BLOB object, and then it only deals with the image, not the rest of what i want.

(I can do the text part, but i have no idea how to mix the two if i did know the image bit)

The tutorial on W3C works, but doesnt do what i want. It simply uploads the image and echo's the details, no storing any info in the DB, and uses two pages to works, i would like it contained on one page.

Thanks in advance
 
Thanks for the code, I can see how it works, yet i'm unsure how i would add this into my page with the form, i.e. how to call the function etc.

Sorry to be a pain!

*not so ninja edit* I got stuff working, sadly not using your code, although i will look into streamlining stuff and your code might prove useful! I spent a good while figuring out the W3C tutorial!
 
Last edited:
Back
Top Bottom