List:General Discussion« Previous MessageNext Message »
From:Nicholas Vettese Date:August 9 2006 7:32pm
Subject:Re: cell colors PHP/MySQL
View as plain text  
Wouldn't using a 'switch' statement work better?  Just please do not ask me 
to show an example.  :)

----- Original Message ----- 
From: "Chris White" <chriswhite@stripped>
To: <mysql@stripped>
Sent: Wednesday, August 09, 2006 3:30 PM
Subject: Re: cell colors PHP/MySQL


> On Wednesday 09 August 2006 12:24 pm, Brian E Boothe wrote:
>> i'm needing assistance in table Cell color thru MySQL
>>  i have a project were im listing a projects in a table  either Complete
>> / Active / Pending /  now im needing these refrances cells to change
>> Color whenver its lists them out on a page,
>>   [Complete] =  green    [Active] = Blue    [Pending] = yellow
>> Can someone Give me refrences or Code in PHP to how to accomplish this
>
> Well, I'd just have 3 css classes: complete, active, and pending.  When 
> it's
> outputting these cells, have the cells use the class attribute, setting 
> them
> to the respective values.
>
>> thanks
>
> -- 
> Chris White
> PHP Programmer/DBanjo
> Interfuel
>
> -- 
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe: 
> http://lists.mysql.com/mysql?unsub=1
> 

Thread
cell colors PHP/MySQLBrian E Boothe9 Aug
  • Re: cell colors PHP/MySQLChris White9 Aug
  • Re: cell colors PHP/MySQLNicholas Vettese9 Aug
    • RE: cell colors PHP/MySQLDaevid Vincent11 Aug
  • RE: cell colors PHP/MySQLSST - Adelaide)9 Aug
  • Re: cell colors PHP/MySQLLigaya Turmelle10 Aug