Jump to content

"Forcing" PHP to echo information as it executes


mrherman

Recommended Posts

Good evening --

 

My script takes a while to execute as it processes records from the db.  I'd like to have it print out to the screen the record id # as it processess each record, just to let me know where it is.  Currently, the program waits till the end and then prints out the record numbers, which is no help.  How can I enable PHP to print out each record number as it goes along?

 

Thanks!

Thanks for your reply...I have tried to place an ECHO statement inside the WHILE loop, but it still waits until the end of processing and then prints out all the record numbers at one time, rather than doing it as it processes each record...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.