Thread
:
Alternate row color ?
View Single Post
11-23-2008, 10:59 PM
#
5
(
permalink
)
Matt
The Wanderer
Join Date: Dec 2007
Location: united states
Posts: 16
Thanks: 7
i found an easy way to do this.
Code:
$cell_color = ($i % 2 == 0 ? "class1" : "class2"); $i++;
Matt
View Public Profile
Send a private message to Matt
Visit Matt's homepage!
Find More Posts by Matt