Progress bar for Excell Import to Mysql Through PHP
January 6th, 2009
For instance, the script first checks to make sure if the data already exists in the table, if so, it updates the record, if not, it creates a new record, and assigns it to a user for processing. Ideally i would like to create a progress bar that uses the total number of records as the 100% mark, and builds the percentage from the current record number. I would also like to list below the progress bar the records that are dropped for not meeting certain criteria, the number of records updated, and the number of records inserted. And of course report any errors along the way that don't kill the process entirely.
Is this possible with Ext, or anything else for that matter? I couldn't think of a way because I can't figure out how to make a running php script communicate with ext.
Thanks in advance for any help.
that said I do use it to give status updates from a php reporting engine I use that takes up to 15 minutes to run.
It would certainly be best to start off with a simple dialog that just has a spinner or something on it and worry about the status updates later.
#If you have any other info about this subject , Please add it free.# |