I`m developing a php console application based sql database syncronizer.
It's basically an update from one db to another.
The console app is fine, but I'd like to make a webpage with live response of the 10 minutes job.
Like:

```
Updating product#1 .... READY!

Updating product#2 .... 

```

My question is how can I do this with AJAX ? Is there some event that fires a respond from inside a php iteration not after it?
Or I have to make an iteration of AJAX requests?

Thank you!