HTML_Table Zebra tables
| From: | Ken | Date: | Fri, 15 Apr 2005 08:58:52 +0000 |
| Subject: | HTML_Table Zebra tables | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-18761@lists.php.net to get a copy of this message | ||
Hi all
I have been looking at HTML_Table lately and I was thinking of ways to
make zebra tables with them.
I came across the function, ->setRowAttributes(). The manual says:
"mixed $attributes - Associative array or string of table row
attributes. This can also be an array of attributes, in which case the
attributes will be repeated in a loop."
Does it mean that if I supply it with an array of attributes, it is
possible to make zebra tables...
this bit in the manual really confused me :(.
Thanks in advance.