Moin,
ich habe hier eine 1*1 Tabelle erstellt
<body>
<table>
<?php
$spalte="1";
echo "<table border='1'>\n";
while($spalte<=10){
echo "\t<tr>\n";
$zeile="1";
while($zeile<=10){
$ergsp=$zeile*$spalte;
echo "\t\t<td>$ergsp</td>\n";
$zeile++;
}
echo "\t</tr>\n";
$spalte++;
}
?>
</table>
</body>
Jetzt will ich alle gerade und ungerade zahlen markieren und komme nicht so richtig weiter , brauche ein paar tipps in diese richtung