Anybody want to discuss a way to change row colors of table based on
content, for example:
+-----|-----------------------+
|acess|        COSTUMER       |
|-----------------------------|
| 1   |   joseph              |
| 2   |   mary                |
| 3   |   john                |
| 4   |   joseph              |
| 5   |   joseph              |
| 6   |   guile               |
| 7   |   mary                |
| 8   |   craig               |
+-----------------------------+

in this table, the name Joseph and Mary are repeated, so, every "joseph" or
"mary" row must have the same color (picked randomly or not). so as every
"craig", "guile" or "john" row.
I don't want to use css class names based on the name of the "costumers"
because I don't know how many costumers are and how many times they appear
or repeat.

thanks

Reply via email to