Page 1 of 1

Percentage Bar for Processing

Posted: Tue Jun 01, 2010 2:16 am
by deshmukh999
HI Guyes,

I am download some records from mysal database using PHP script.

I want to show a processing bar that will get processed as per the time taken by the script. This can be in percentage and once it reach to 100% result should get appear.

Please help me to get the solution for this.

Re: Percentage Bar for Processing

Posted: Tue Jun 01, 2010 2:31 am
by greyhoundcode
So there's a graphical element (the progress bar, see this), the process for communicating with your server (AJAX is likely to be needed, you could try this) to check what progress has actually occurred, and of course you need functions to return the degree of progress: without knowing how many queries you are running etc there's no easy answer - except of course that you could simulate a progress bar that simply keeps going!

Is there a specific part you are having difficulty with?