Hallo
my $counter=0;
while(du die datenbankeinträge holst){
$classname=($counter mod 2)?'hellgrau':'dunkelgrau';
#sonstwas
$counter++;
}
Bert
p.S. das ist nicht wirklich PHP.
--
E492: Not an editor command: Wq
E492: Not an editor command: Wq