Percentage Bar for Processing

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
deshmukh999
Forum Commoner
Posts: 32
Joined: Mon Mar 15, 2010 2:01 am

Percentage Bar for Processing

Post 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.
User avatar
greyhoundcode
Forum Regular
Posts: 613
Joined: Mon Feb 11, 2008 4:22 am

Re: Percentage Bar for Processing

Post 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?
Post Reply