I have a photo gallery page that I want to implement a slideshow using PHP. All the file names and file locations are stored in a MySQL database. The picture will be displayed on the browser according to which section the user clicks. I already have a next and back button working for the user to move back and forth. The next thing I want to do is to have a radio button or a checkbox on the same page and when the user click this radio button, the picture will automatically move forward to the next picture exactly like the next button I already implemented. If I figure out a veriable that will hold the system's current time and compare that to the previous time to see if it is 5 seconds more, and if it is, increment the pictureID to the next pictureID so the next picture will load on the browswer.
Any help on this is grateful!
ljCharlie