The script above is executer but display the result only at the end.
Someone has an idea ?
- Code: Select all
<html>
<body>
<div align=left class="encours" id="renvois_encours"></div>
<?php
@ob_end_clean();
for ($i=10; $i>0; $i--)
{
echo "%i<br/>";
flush();
sleep(1);
}
?>
</body>
</html>