Jump to content


PHP image slideshow on dynamic pages

  • Please log in to reply
No replies to this topic

#1 jetilux

  • New Members
  • Pip
  • Newbie
  • 1 posts

Posted 18 February 2013 - 09:02 AM

Hello everyone,

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?

            '<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.

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users