The following is more than anything a query. We have a simple cycle:
for ($i = 1; $i <= 10; $i++){
echo $i."</br>";
}
As we already know at the time of executing this code, all the results will be displayed once and in this case a count of 1 to 10, what I would like to know is which language, perhaps AJAX or JAVASCRIPT , or some function of PHP could show each of the laps of the cycle for , is say that s show the 1, then the 2, and so, I know it seems something AJAX but I do not handle it much, but I'm still open to suggestions with this language, the point is that there are time intervals between each round of the for , since I am handling a for that requires many laps and the browser hangs, and I wanted to see if this could be a solution .