title: How to increment div id with php for loop?
body: <p>I have the following div. I would like to have <code>mydiv1</code>, <code>mydiv2</code> and <code>mydiv3</code>. Is this possible to do?</p>
  
  <p><strong>Code:</strong></p>
  
  <pre><code>&lt;?php for($i =1; $i &lt;3; $i++):?&gt;
      &lt;div id="mydiv&lt;?php $i?&gt;" style="float:left"&gt;
  &lt;?php endfor;?&gt;
  </code></pre>