my $class = "even"; while ($pointer = $sth->fetchrow_hashref) { $class = ($class eq "odd") ? "even" : "odd"; ...more stuff goes here.... }
In reply to Re: Odd and even table rows
by johnlawrence
in thread Odd and even table rows
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |