I have a MySQL database which holds information about a number of images, and I want to display these images in PHP pages.
I'm trying to write an upload page which will add images to this database, but in order to store a unique pathname/url for each one I need to create a unique name - or prefix - for each image as it is uploaded, and which is not already in the database.
I'd appreciate any tips or examples on how to go about doing this! Thanks!