On 4/28/10, Juan Rodriguez Monti wrote:
> I would like to implement a two color row table for some queries that I'm
> doing.
...
> what do you suggest to do a two color row format.

Well, I wouldn't mix the presentation and querying of the db in one
place, but assuming that's just a simplified example... I'd just set
each <tr> style name to something relevant declared in your CSS.
Alternating rows getting style names like "odd", and "even", which are
declared in CSS to display in different colours, or whatever.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to