this was suggested but it doesnt work. can anyone help please??
the output is given at once when the script finishes executing
ps I am runinng this script locally on MAMP Pro.
if (ob_get_level() == 0) ob_start();
$test = Array('one','two','three','four');
foreach ($test as $key=>$val)
{
echo $test;
ob_flush();
flush();
}
ob_end_flush();
thank you for ur help
the output is given at once when the script finishes executing
ps I am runinng this script locally on MAMP Pro.
if (ob_get_level() == 0) ob_start();
$test = Array('one','two','three','four');
foreach ($test as $key=>$val)
{
echo $test;
ob_flush();
flush();
}
ob_end_flush();
thank you for ur help