Getting Response from Ajax and Display on PHP page

I have a PHP script which runs for around 100 loops.The Script runs on form submit.So while it executes I want another PHP or HTML page to show which loop it is in.I believe AJAX will be required to achieve this but I am not very familiar with it,so an example code will be very useful. Thanks

Ok so I am using ob_flush(); flush(); methods to display each iteration and its working.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.