Re[2]: [PHP] html formating trouble
| From: | Andrew Perevodchik | Date: | Fri, 14 Sep 2001 19:15:40 +0000 |
| Subject: | Re[2]: [PHP] html formating trouble | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67402@lists.php.net to get a copy of this message | ||
>> echo "<font color="#FFFFFF">ovo je javna strana </font>" ;
AS> Here, PHP stops parsing the string which is to
AS> be printed by echo right before the #FFFFFF.
AS> You either need to break your fingers and
AS> write:
AS> echo "<font col=\"#ff\".................";
AS> or have it much simpler, faster and better and
AS> use single quotes instead:
AS> echo '<font col="ff"..............';
Or try something like this (but i'm shure you
won't want to use it :)
echo <<<END
<font color="#FFFFFF">ovo je javna strana </font>
END;
--
Andrew Perevodchik
ok@naverex.kiev.ua