hello, i want to have a table with 2 colors alternated, row by row. does anybody know how i could do it? thanks a lot...
Do a freakin' search before posting. This has been answered dozens of times.
$sameCodeAgain = ($alternate = !$alternate) ? "#color1": "#color2";
and the sameCodeAgain will alternate between the colors.
tut tut
sorry for not searching.next time...
thanks a lot!