php fun codeing
<p>hey I make a simple php table using nested for loop ... and it will be like this...</p>

<pre><code>1   2   3   4   5
6   7   8   9   10
11  12  13  14  15
</code></pre>

<p>but the problem is , i can not print this value using a loop inside the column .. so what will be the solution ??? please </p>

<p><strong>my code :</strong></p>

<pre><code>echo "&lt;table border=1&gt;\n";
for($row=1;$row&lt;=3;$row++)
{
    echo "&lt;tr&gt;";
    for($col=1;$col&lt;=5;$col++)
    {
        echo "&lt;td&gt;";
        echo "MY PROBLEM HERE...I cant print column numbers \n";
        echo "&lt;/td&gt;";
    }
    echo "&lt;/tr&gt;";
}
echo "&lt;/table&gt; \n";
</code></pre>
