Re: how to set font colors
| From: | Mike Patton | Date: | Sun, 14 Oct 2001 04:20:20 +0000 |
| Subject: | Re: how to set font colors | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71018@lists.php.net to get a copy of this message | ||
Try escaping your quotes on the font tag:
<FONT COLOR=\"#F0F0FF\">$user[0]</FONT>
> echo "
>
>
> <dl><dt><b>$user[0]</b> $mailadd $urladd ($user[3
> ])
> <dt><dd>$user[4]</dd>\n</dl>";
>
>
>
> the normal font tags like the example below return an error.
> <font color="#FFFFFF">$user[0]</font>
>
> Is this done differently in php?
------------------------------------------------------------------------
James "Mike" Patton \ Professional web applications developer
mpatton@acuitymedia.com \ specializing in PERL, MySQL, PHP and JAVA
------------------------------------------------------------------------