On 10 Apr 2007, at 04:35, Rob Barreca wrote:
>> $flip = array('even' => 'odd', 'odd' => 'even');
>> $class = $flip[$class];
> I think the second is more readable too and allows us to easily to
> chains if we want tri-color rows or rainbows. :)
*lol* :)
--
Dries Buytaert :: http://www.buytaert.net/