Purpose: if $ r = 10, builds a 10x10 table, if $ r = 100 ...
What came up with:
$r=10; echo '<TABLE>'; $x=1; while ($x<=$r) { echo '<TR>'; while ($x<=$r) { echo '<TD>1</TD>'; $x++; } echo '</TR>'; $x++; } echo '</TABLE>';
But only the first line is built. Where is the mistake?