How can I create a progress-bar using PHP and JavaScript? -


I am using PHP and Javascript in my application.

I want to delete entries from the database, a process that requires a significant time, thus I would like to report to the end-user of progress.

I want to know how to get it, can anyone explain this principle to me?

You need 2 scripts:

  • Delete first
  • second for position

    Make a request for the first script, and then make another request for the second script which will report the progress to you.

    Then you can use any jQuery plugin to display the progress bar.

Comments