Hy, wie kann ich bei einer mysql abfrage bei der tabelle abwechselnd die Hintergrundfarbe ändern?
z.b
Weiss
Grau
Weiss
....
mfg Slater
z.b
Weiss
Grau
Weiss
....
PHP:
$result = mysql_query($Anfrage,$Verbindung);
while ($ausgabe = mysql_fetch_array ($result))
{
print ("
<table border=0>
<tr>
<td width=200 height=20><font face=$fontface2 color=$fontcolor2 size=$fontsize2>$ausgabe[Name]</font></td>
<td width=100 height=20><font face=$fontface2 color=$fontcolor2 size=$fontsize2>$ausgabe[Punkte]</font></td>
<td width=100 height=20><font face=$fontface2 color=$fontcolor2 size=$fontsize2>$ausgabe[Datum]</font></td>
</tr>
</table>
");
}
mfg Slater