ob_end_flush
Refresh (send) the output buffer and turn off the output buffer
ob_end_flush()
function deletes the top-most output buffer and outputs all its contents. The output may be captured by another output buffer, or, if there is no other output buffer, sent directly to the browser.
Delete the output buffer and send its contents to the browser:
<?php ob_start ( ) ; echo "This part of the output will be sent to the browser" ; ob_end_flush ( ) ; ?>
Try it yourself
ob_end_flush ( ) ;