for loop not suitable?
<p>I have created a for loop.
I am trying to loop through lots of members and create a row for each member in a table.</p>

<p>It's looping through too many times.
Is it the right type of loop to use?</p>

<pre><code>        &lt;?php
    for ($i = 1; $i = count($u); $i++) 
    {
        ?&gt;
        &lt;tr&gt;
                &lt;?php
                    echo "&lt;td&gt;$i&lt;/td&gt;";
                ?&gt;

                &lt;?php
                foreach ($u as $username)
                {
                    echo "&lt;td&gt;$username&lt;/td&gt;";
                }
                ?&gt;
                &lt;?php
                foreach ($p as $points)
                {
                    echo "&lt;td&gt;$points&lt;/td&gt;";
                }
                ?&gt;
        &lt;/tr&gt;
        &lt;?
    }
    ?&gt;
</code></pre>

<p>$u and $p are arrays.</p>

<p>Thanks</p>
