codice:
while ($row=mysql_fetch_assoc($st)){
	$temp=($temp == $colore1) ? $colore2 : $colore1;
	echo "<td bgcolor=\"$temp\">{$row['campo']}</td>\n";
}