Can we make an incremental counter with only PHP?
<p>I would like to know if it's possible without javascript to update an echo ?</p>

<p>For example</p>

<pre><code>&lt;?php
for ($i = 1; $i &lt; 100; $i++){
    echo $i;
}
?&gt;
</code></pre>

<p>But it will only update the number without adding another line, and another until 100. Is this possible or only with javascript you can achieve this.</p>

<p>I need to output a counter to know how much files is being processed at the moment like</p>

<blockquote>
  <p>45 of 100 pages</p>
</blockquote>
