Henrik Hansen <hh@mailserver.dk> writes:
> while (...) {
> $color = ($i % 2) ? "#cccccc" : "#ffffff";
Endnu bedre:
$color = $color1 = "#CCCCCC";
$color2 = "#FFFFFF";
while (...)
$color = ($color == $color1) ? $color2 : $color1;
Der er ingen grund til at bringe $i ind i det hele
--
Jacob
Vampires are not visible in mirrors, which explains why they are often
backed over in parking lots.