Hi,
i have some problem with the code below:
<pre>
for ($j=1; $j<=2; $j++) {
$j=1;
$no_bar.$j .= "<table cellpadding=1 cellspacing=1 border=0 width=100%>\n";
for ($a=1;$a<=4;$a++) {
$no_bar.$j .= "<tr>
<td><input type=text name=ratio[no1_$a] value=".$ratio['no1_$a']."></td>
</tr>\n";
}
$no_bar.$j .= "</table>\n";
}
</pre>
I am wonder whether i can run another inner for loop? because if I remove the first for loop, everything is ok. With the script above, it will become infinitive looping.
Thanks
Louis