Robbastiaansen 0 Newbie Poster

Hi,
I have this code that shows a page line by line with a 1 sec interval.
Works with IE6 but not with IE8, Firefox, Chrome.
<html>
<head>
<title>test</title>
</head>
<body>
<?php
if (ob_get_level() == 0) ob_start();
for($i=0;$i<10;$i++){
echo 'regel '.$i.' </br>';
ob_flush();
flush();
sleep(1);
}

?>
<br>
</body>
</html>

I don't know where to start to find why it works on IE6 but not on the others.
The code is also online here: http://www.gpsopleiding.nl/test.php

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.