my $t; while ($pointer = $sth->fetchrow_hashref){ my $class = qw(even odd)[$t^=1]; ... } [download]
In reply to Re^2: Odd and even table rows by wind in thread Odd and even table rows by Anonymous Monk