Re: #color problems
| From: | Marek Kilimajer | Date: | Fri, 15 Nov 2002 15:07:40 +0000 |
| Subject: | Re: #color problems | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124607@lists.php.net to get a copy of this message | ||
Do you mean it doesn't output the right html (which it should if you pasted it right, look at the html source)
or the browser doesn't display it (bgcolor in <td> is **deprecated, what doctype are you using?)
Adam wrote:
Below is a snip of my script. Can't get it to use $test as a color variable!! Can anyone help?? I have tried everything i can think of (bar just using a color value instead of variable). The context is :: for formatting an XML doc. $test='#FFFFFF'; echo "<td width=\"33%\" bgcolor=\"".$test."\">"; Any help much appreciated, Adam.