Alternating Row Colors in PHP........
| From: | CF High | Date: | Sat, 08 Feb 2003 23:25:23 +0000 |
| Subject: | Alternating Row Colors in PHP........ | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-134891@lists.php.net to get a copy of this message | ||
Hey all.
I'm coming from Cold Fusion to PHP; in CF I could alternate rows with the
following:
<tr bgcolor="###Iif(((CurrentRow MOD 2) is
0),de('FFFFFF'),de('EEEEEE'))#">
Any ideas how to do this in PHP?
Thanks for clues,
--Noah
--