When i build a set of elements (say 100) with php (in a loop)
Is the page send to the client only when the loop is completed or is the page on client side already showing on the client before the loop is completed? Thanks
When i build a set of elements (say 100) with php (in a loop)
Share
You can control output to client browser anytime in your PHP code
Example Send to Client Instantly
Example Send after Loop
Example 3 ( This would just use your default output buffer configuration )
Finally (Credit : Ninsuo)
Some browsers does not display anything until the page is fully loaded so we don’t always control flushing