Ok, i have coded a preview and a review system. Now, i want there to also be a screenshot system. For example, when my staff is making a review or preview, they can upload up to 15 screenshots to the corresponding game, then however many they uploaded will be displayed at the bottom of the review or preview like..
1 | 2 | 3 | etc.
But, im unsure on how to make it so however many are upload, thats the number of pages and also how the screenshot id would correspond to my review or preview id, thanks
Then insert the code into the database with a structure like this:
Table -- screenshots
itemid (or if you don't have a table containing all the games, just put something like "gamename" and manually type in game name)
shotid (this is where the "#loop#" would be inserted)
file (the result from the cffile upload, or it's equiv. in your programming language)
This code of course won't work and was made in about 20 seconds just to give you a rough idea of how I would go about doing it.