Page 1 of 1

PHP Question

Posted: Tue Jun 12, 2012 8:28 am
by kumargaurav47
when we open a webpage, first folder images are shown and when we refresh or click on any link it show second folder images and again when we click on and link or home page it shows 3rd folder images and simultaneously upto 5th image folder and after 5th folder it again start from 1st folder images in sequence is this possible using php ?

Please reply me code if there is anyone who know this

Thanking You
Gaurav

Re: PHP Question

Posted: Tue Jun 12, 2012 4:09 pm
by Christopher
Yes, this is possible. If there are always five folders, you could do this with static HTML pages. If the number of folders can change then you can use PHP to find the names of the folders and the filenames of the images in each folder.