Personally, I'd find ...
$colors[ $row++ % @colors ]... easier on the eyes, but aesthetics are always subjective. :)
--k.
In reply to Re: Re: Re: alternating row colors
by Kanji
in thread alternating row colors
by qball
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |