+ 1
Refresh php function
How can I refresh some function in php every second? Thank you :)
1 Answer
+ 2
you could use sleep(); It waits given seconds before it continues
function test() {
sleep(1);
test();
}
test();
That's not gonna be very useful because PHP is server side.