Hello all,
I am familiar with php and mysql coding. I learned most of my php/mysql coding from the sitepoint book "how to build database driven websites using php and mysql." Great book! Really simplified my learning. However, I have never done any coding with images.

My dilemma is first trying to figure out if the best way to upload images is to store them in a folder or in the database as a BLOB.

The next dilemma is how do I add the primary key custnum (auto-incremented) to the images that are uploaded so they can be queried later? Everything been going smoothly until I ran into this image upload issue.

Thank you in advance.