I have seen on many sites using PHP some sort of id system where they can have a main page and then have different ids that will display completely different content. I am just wondering how you do this as I am in the process of making a screenshots gallery on my site. So lets say I go to example.com/image.php so that will take me to that page and then that would have 10 image thumbnails.
So when I click on them it will open up another dynamic page with only that image in so the url would be example.com/images.php?image=1. I have absolutely no clue how to do this, so if anyone can help with this probably it would be greatly appreciated.