> How do I get every other column to be a different color (or font ect.)when > I'm populating a table from a db(different field counts all the time) If $i is a counter then $i%2 will alternate between 0 and 1 $i%3 would cycles through 0,1 and 2 -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] html table Mike
- RE: [PHP] html table Rasmus Lerdorf
- RE: [PHP] html table Brian V Bonini
- Re: [PHP] html table Randy