<table> for($i=0;$i<20;$i++) { <tr> for($j=0;$j<20;$j++)// se aumenta una fila y una columna hasta llegar al limite { <td></td> } </tr> } </table>