I am looking for a good tutorial or script that will help me do two things.
Basically, I want a form that will send variables to a mysql table. (Actually this part is very easy and I already have something working). The problem is I also want this form to upload an image to the server and named the image one of the variables.
For example the form says:
1) Give an ID number:
2) Browse for an image to upload.
When the user clicks submit the image gets upload to a specific directory on the server and the image is renamed the id number.jpg or idnumber.gif
Anybody have any ideas on how I can do this? It seems I can get one part working, but not the other working. I would like them to work together in one script.