Re: RE: newbie alternate row colours in dynamic table
| From: | Don Read | Date: | Sat, 05 Apr 2003 23:16:33 +0000 |
| Subject: | Re: RE: newbie alternate row colours in dynamic table | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-142545@lists.php.net to get a copy of this message | ||
On 05-Apr-2003 Bobby Rahman wrote:
>
>
> Hiya people
>
> After a lot of soul searching, exploring the web and help from many
> people I
> came up with this simple solution:
>
Okey-doke. simple is in the eye of the beholder.
$bgcolor = ($bgcolor == '#E3E8F0' ? '#C7D0E2' : '#E3E8F0');
<snip>
Regards,
--
Don Read dread@texas.net
-- It's always darkest before the dawn. So if you are going to
steal the neighbor's newspaper, that's the time to do it.