while($row=mysql...) { $color=($color=='red' ? 'blue' : 'red'); echo ... }
Denis L. Menezes wrote:
Hello friends.
I put the output of the database query in a table. It works fine. Now I have a need to make the alternate rows of a different color.
Can someone please help me with the code?
Thanks
Denis
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php