this is my first question here on stackoverflow, I just curious.. is it possible to delay loop in PHP ? I'm trying to print each result to browser and pause the script using sleep() before it process another loop, but it's not working, here's the script that I use:
<?php
$n = 1;
while ($n < 10) {
    echo $n."<br />";
    $n++;
    sleep(1);
}
?>
PS: I'm using Firefox and Apache2 on Linux Mint.
 
     
    