is it possible to display foreach loop response during iteration using jQuery or Ajax ?
for($i = 0; $i < 1000; $i ++) {
echo $i;
echo '<br>';
}
I want to call the function using ajax and display $i value in each iteration. Is it possible ?
Like typically, I dont want to wait for full page forloop process end and then echo result.
PS: I am student of Software Engineering in 2nd semester. I am in learning process so please bear me for any foolish request.
Thanks and Regards.