Hey, I'm reletively new to PHP (Used to learn it many years ago, just started again about a week ago) and I'm trying create an image uploader for a photo album I've created. What I'd like to do is create the upload script so it uploads the files to 'uploads/' but also adds the image name to a MySQL database. I've already got the database set up, and I've got the while loop set up to pull the images from the database and display them on screen, however I input the data into MySQL manually.
What would one have to do to create a script that does it on upload?
I've hit a brick wall with this so any help would be greatly appreciated.
Thank you for your time! <3