faqts : Computers : Programming : Languages : PHP

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

7 of 10 people (70%) answered Yes
Recently 7 of 10 people (70%) answered Yes


How do I create a self-advancing slide show of pictures in PHP?

Nov 17th, 2002 00:00
Mariusz Stankiewicz, Zhenya Trusova,

Use a meta refresh tag in the head of your HTML as such:
<meta http-equiv="refresh" content="2;url=picpage.php?id=4">
This will refresh the page after 2 seconds to the url shown.  all you 
have to do is increment the id to the next image that is in your list.