Php foreach loop syntax : <p>Trying to check a list. Need some help with the foreach loop. Can't seem to understand the documentation for it.</p>

<pre><code>  foreach ($i = 0; $i &lt;= $List; $i++)
     {
         foreach($ii = 0; $ii2 &lt;= $List 2; ii++)
         {

          }
        // something
     }
</code></pre>
