I'm not sure exactly how to describe this or what it's called.
Typically when a PHP script runs, if there's any output it's all displayed when the script finishes. I have seen a number of times scripts that output text as the script is executing, before it finishes. I was wondering what that is called and how to do it. At first I thought the page was doing some AJAX calls but Firebug shot down that idea fairly swiftly, so there must be a way to do it in PHP (or there's some other client-side voodoo going on that I haven't noticed).
A quick example of what I mean in case there's any confusion:
Say for instance you had a script that set up a database. Chances are there are a number of create table queries and many inserts. As the script runs, it would output to the screen that each table was successfully created and added to the database, as well as any default data. Normally when the script finished running you'd be presented with a plethora of output messages, but I would like each success message (or error) to output immediately after each table creation and insert, so you could watch in real-time (more or less) the status of the queries.
Note: the above is not what I am actually trying to accomplish. It's just an example of what (I think) I have seen.
Thanks for any insight!