Hi again,
I did not notice that the 1st time through that you had put in the echo statements. However, I did try something like that with my code.
I put in a print statement that printed every tenth line. It seems though, that even though I am printing every tenth line, it does not actually 'display' any output until the completion of the entire program.
Is this a quirk with PHP. its seems to be the same with both Netscape and Internet Explorer.
If you have a few minutes, give it a try...here is a simple test program that I wrote:
<?
print "start program<br>\n";
sleep(3);
print "three seconds past...still going<br>\n";
sleep(3);
print "three seconds past...still going<br>\n";
sleep(3);
print "three seconds past...end program<br>\n";
?>
If you run this program you will see that it does not print a line every three seconds..instead, it waits until the entire program completes...about 9 seconds...and them prints all 4 messages at once.
Any ideas how to get around this??
Chuckc