php - output echo'd contents in browser while script is running? -


does know how output stuff echo browser while script running?

i have long loop i'd output string after every run of loop, kind of progress bar, know how that?

use ob_flush() function:

ob_start(); //echo stuff...  ob_flush();  //echo more stuff...  ob_flush(); 

Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -