I made a PHP form to add data to the mysql database and now I wan't to add photos (not to mysql db because I heard that's not a good ideea, so...) and list it with rest of the info from db I`v inserted with.
I made a upload form, but I don't know how to rename the file`s I upload, and make a new folder for each time I upload data + photo, and than list photo from folder with the rest of the data I`v inserted.
In other words...
New data added from form to db
Name, Age, Email, Description, Photo1, Photo2, Photo3.
Upload to db and list it when necessary.
Please help...
Best regards
I made a upload form, but I don't know how to rename the file`s I upload, and make a new folder for each time I upload data + photo, and than list photo from folder with the rest of the data I`v inserted.
In other words...
New data added from form to db
Name, Age, Email, Description, Photo1, Photo2, Photo3.
Upload to db and list it when necessary.
Please help...
Best regards
Comment