"); while ($entry = mysql_fetch_array($data)) { if ($bg == $list_colour_a) { $bg = $list_colour_b; } else { $bg=$list_colour_a; } echo("