I have this code:
<?php
for($i = 0; $i<30; $i++)
{
echo "$i<br>";
usleep(100000);
}
?>
I would like to know how make the browser display 0, then 1, then 2, ...
In my example, it loads for a while and then display 0-29.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…