wrates Posted October 2, 2007 Share Posted October 2, 2007 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 Link to comment https://forums.phpfreaks.com/topic/71528-code-to-display-a-record-then-automatically-change-to-display-the-next-record/ Share on other sites More sharing options...
pocobueno1388 Posted October 2, 2007 Share Posted October 2, 2007 Can't be done with PHP. Look into AJAX. Link to comment https://forums.phpfreaks.com/topic/71528-code-to-display-a-record-then-automatically-change-to-display-the-next-record/#findComment-360111 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.