Echo result in a loop on each instance

From: Date: Tue, 23 Jun 2009 10:40:08 +0000
Subject: Echo result in a loop on each instance
Groups: php.general 
Request: Send a blank email to php-general+get-294439@lists.php.net to get a copy of this message
I have a question regarding echo of a var/string in a loop on each instance A shortened example: Lets say I have an array of values (rather big), and then I loop through this array: for or foreach : { $value = $arrValAll[$i]; echo "test".$i."--> ".$value; } When the script runs it will only start to echo values after certain period ... it does not echo immediately ... how can I force it start echo as soon as the first echo instance is done ? I thought ob_start does this but I have tried it and not getting what I want. Is there some other way/correct to do this?

« previous php.general (#294439) next »