Re: Making alternate rows of different colour

From: Date: Fri, 17 Jan 2003 14:16:42 +0000
Subject: Re: Making alternate rows of different colour
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-132008@lists.php.net to get a copy of this message
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


« previous php.general (#132008) next »