shadiadiph Posted May 15, 2010 Share Posted May 15, 2010 is there anyway to write a realtime process counter using php, for example i have a file with 1000 lines i have a while loop running inserting each line individually i want to dispay "inserting 456 of 1000" and then for that line to change to "inserting 456 of 1001" "inserting 456 of 1002" without it printing the same line 1000 times? Link to comment https://forums.phpfreaks.com/topic/201823-realtime-process-counter-in-php/ Share on other sites More sharing options...
shadiadiph Posted May 15, 2010 Author Share Posted May 15, 2010 i have tried using javascript in the middle of the php while loop it works but takes a thousand times longer to execute Link to comment https://forums.phpfreaks.com/topic/201823-realtime-process-counter-in-php/#findComment-1058611 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.