note 8631 added to flush
| From: | tsvayer at itu dot edu dot tr | Date: | Thu, 21 Sep 2000 19:36:58 +0000 |
| Subject: | note 8631 added to flush | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5297@lists.php.net to get a copy of this message | ||
I have PHP3 and IE5.0.
echo "a";
flush();
sleep(3);
echo "b";
//din't work as expected
//I have tried
print "a";
//instead of
echo "a";
it din't work too
//then i tried
print "a
"; //break tag on the new line
//it worked but leaves a space between
//a and b in the output of IE.
//finely I tried
print("a");
//and it worked just fine for me.
P.S. I tried all these above with PHP4 and it works as expected.
http://www.php.net/manual/function.flush.php