I have a number of data pages. I want to show this next page of the current page automatically after 10 seconds, and now I have 2 links for the next and vice versa. But I want to show it automatically. If the number of pages falls on the last page, it displays the first page.
for ($counterstart=$startcounter ; $counterstart<=count($device)-1;$counterstart++){ $entry = $device[$counterstart] ; echo "page"; } if ($startcounter ==$result ){ echo " Back "; }else{ echo "Next"; }
source share