I'm working on a site for my school project. However, I'm having a little trouble thinking about this issue and how to get it working. I dont necessarily have the code, but i can post what i/ve tried but its not working.
I have created this page, for example, www.site.com/students.php
In this students.php, it can be directed to /students.php?id=1, where the id ranges. However, in the page I have got everything else working, such as linking ID to name etc which is all working smoothly. However is there a way to create an image slideshow for each different id page, so that when I go to /students.php?id=1, it would recognize the id and retrieve images from a folder with that id?
<?php '<img src="/img/'.$row['shortname'].'/1.png">
This is just a small code which I'm trying to show how to store and tell the slideshow to retrive the pictures.
any help would be greatly appreciated, thanks.