Dieses kleine PHP Script zeigt auf, wie man mit Hilfe von PHP eine Tabelle erzeugen kann.
<?php $rows = 10; // Anzahl Zeilen tr $cols = 10;// Anzahl Spalten td echo "<table border='1'>"; for($tr=1;$tr<=$rows;$tr++){ echo "<tr>"; for($td=1;$td<=$cols;$td++){ echo "<td align='center'>".$tr*$td."</td>"; } echo "</tr>"; } echo "</table>"; ?>
Quelle; phpsnips.com