I am parsing .csv file which contains 21 000 records.
While i am parsing it i insert records in database.
It is taking about 40 second for script to parse the file. User will not sit and wait 40 seconds - he might close page. How can i print on page what is done?
I was trying to echo but echo is listing everything at the end, so u still have to wait 40 seconds.