im testing the following script and it wont send 1 2 3 until the script has finished executing.
What can i do to flush the buffer after every echo statement??
What can i do to flush the buffer after every echo statement??
PHP Code:
<?php
echo "1";
ob_flush();flush();
sleep(5);
echo "2";
ob_flush();flush();
sleep(5);
echo "3";
ob_flush();flush();
?>
Comment