[snip] I'd appreciate any hints on this... [/snip] Try this (verbose)....
/* change the row color */ if(0 == $rc){ $colorClass = "white"; echo "<tr bgcolor=\"white\">\n"; $rc++; } else { $colorClass = "grey"; echo "<tr bgcolor=\"yellow\">\n"; $rc--; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php