ob_flush
Refresh (send) output buffer
ob_flush()
function outputs the contents of the top-level output buffer, and then clears the contents of the buffer. The output may be captured by another output buffer, or if there is no other output buffer, it will be sent directly to the browser.
Output the contents of the buffer without deleting it:
<?php ob_start ( ) ; echo "This part of the output will be sent to the browser" ; ob_flush ( ) ; echo "This part of the output will not be sent to the browser" ; ob_end_clean ( ) ; ?>
Try it yourself
ob_flush ( ) ;