> I've been asked if I can alternate the colors of the 
 > rows to make the report more legible.

What I usually do is something like this:

if ($colour == "blue") $colour = "red" else $colour = "blue";

Then the bit where you actually output display you use $colour to set
display attributes and away you go.

CYA, Dave

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to