$farve1 = "#CCCCCC";
$farve2 = "#FFFFFF";
$farve= $farve1
$query = mysql_query("SELECT * FROM `nyhedskommentar` WHERE id = '$id'");
while($row = mysql_fetch_array($query)) {// Her glemte du en lykke!
echo "
<table>
<tr>
<td width='135' bgcolor='". $farve."'>
[b]".$row['navn']."[/b] - ".$row['dato']."
</td>
<td width='4' bgcolor='".$farve."'></td>
<td width='350' bgcolor='". $farve."'><hr>
".$row['kommentar']."
</td>
</tr>
</table>
"
switch($farve) {
case $farve1: $farve = $farve2; break;
case $farve2: $farve = $farve1; break;
}
;