RE: [PHP-DB] Table question....
| From: | Snijders, Mark | Date: | Thu, 03 Oct 2002 13:05:42 +0000 |
| Subject: | RE: [PHP-DB] Table question.... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-22200@lists.php.net to get a copy of this message | ||
you have to make it yourself...
make a counter, for every row do $counter++;
and the
if ($counter%2==0){
blue
}else{
red
}
the % is the difference math function... you got a rest-value or not...
hope you get it :)
-----Original Message-----
From: Rodrigo [mailto:rodrigo@praticsistemas.com.br]
Sent: donderdag 3 oktober 2002 14:30
To: PHP
Subject: [PHP-DB] Table question....
Hi people, is there a way to print a table with the background switching
colors??? like one blue, the next black, blue, black.......
thanks in advance... Equipe Pratic Sistemas
Rodrigo Corrêa
Fone: (14) 441-1700
suporte@praticsistemas.com.br
rodrigo@praticsistemas.com.br