how to control interval of for loop?
<p>I have a for loop, with a $count of 23.</p>

<pre><code>for($page=0; $page &lt; $count; $page++) { 
echo $page;
}
</code></pre>

<p>What I want to do is instead of increasing the page variable by one, I want to do it by 10 so that when $page is echoed it I want the results to be 10, 20, and not go past 23.</p>

<pre><code>for($page=0; $page &lt; $count; $page+10) { 
echo $page;
}
</code></pre>

<p>When I do this, the loop continues infinitely, echoing 0. IF anyone has any advice, I would really appreciate it. Thanks in advance.</p>
