Jump to content

code to display a record then automatically change to display the next record


wrates

Recommended Posts

Hi,

 

I have a page which displays a single record on a page each time from a mysql database. there are 10 records in total in the database.

 

What I would like to do, is rather than have the user click a link to display the next/previous record I would like the record to be displayed for a certain length of time (say 20 seconds) and then automatically move on to display the next record. When it has reached the last record, I would like it to loop round again from the start.

 

Any ideas on the best way to achieve this?

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.