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
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.


echo "<td width=\"33%\" bgcolor=\"".$test."\">";

Any help much appreciated,

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to