Just wanted to add, I'm creating a dynamic website, where the user has a template that they login to where they can insert text and images, and a different login for viewers to view the site.
So when they hit the submit button, the images are sent into my Images folder instead of a database. On the viewer's page, I just put in the URL for the image and resize it.
The problem with my page now is that it can't differentiate between images. Like I have 6 uploads on the edit page, when they editor hits submit from any upload, I have it so that I use php to change the name to 1_image1.jpg. But they could hit submit on any of the uploads and my php code just names it to 1_image1.jpg. It can't tell that there's a difference in each upload.
I can't seem to figure out how to have each upload on the edit page be unique.
Like I want to be able to code the php so it's like this in pseudocode:
if (image = 1) {
assign name image1.jpg to that image}
elseif (image = 2) {
assign name image2.jpg to that image}
etc..
Thanks again for any help