J
|
jskewes author 12/4/2007 |
Hi - I got this to work using this piece of code (where CPO is the field name). Hello, Can anyone suggest how to make this condition apply to FONT COLOR? This code works for bgcolor but changing font color might make a nicer display. Thanks in advance. /john $str = "<table width=100% bgcolor="; if ($value="DONE") $str.="green"; if ($value="NOT STARTED") $str.="red"; str.="><tr><td>".$value."</td></tr></table>"; $value=$str; |