October 10th, 2000, 08:19 PM
Join Date: Oct 2000
Location: Sydney, Australia
Time spent in forums: < 1 sec
Reputation Power: 0
I have a problem that I need some help with.
I want to concatenate 2 or more variables, one of which contains some html code ie
<BLOCKQUOTE><font size="1" face="Verdana,Arial,Helvetica">code:</font><HR><pre>
$var1 = "Dev";
$var2 = "<font color="#FFFFCC">Shed</font>";
$doc_head = $var1 . var2;
This produces output that looks like this:
Dev<font color="#FFFFCC">Shed</font> instead of DevShed with the "Shed" part having a blue colour.
What do I need to do to produce the desired result?
Thanks in advance.
[This message has been edited by grahamg (edited October 10, 2000).]