if you are just trying to set intervals you can do this with php there is a php function called “sleep”, and if you would like to make it work with portions of a second you can use the php function “usleep”
sleep(3) would pause the script for 3 seconds then continue
usleep(3500000) would pause the script for 3 and a half seconds then continue
you could use a while loop and have it echo out each record then pause then echo another record etc.
example:
[php]
$result = mysql_query(“SELECT * FROM table”);
while ($res=mysql_fetch_assoc($result)) {
echo $res[‘field’];
sleep(3);
flush();
}
[/php]
I believe this would give the effect that you are looking for without resorting to javascript. Although javascript would be the much prettier way of doing it.
If I remember correctly the php sleep function might have the browser page looking as though it is loading the entire time, while javascript will actually look like the page completely stopped loading then it will reload when the pause has ended.
setTimeout function is javascript and not php