Re: html formating trouble
| From: | Mark | Date: | Fri, 14 Sep 2001 19:49:59 +0000 |
| Subject: | Re: html formating trouble | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-67406@lists.php.net to get a copy of this message | ||
On Fri, 14 Sep 2001 20:22:07 +0200, Alexander Skwar wrote:
>So sprach »Nikola Veber« am 2001-09-15 um 07:09:20 +0200 :
>> I'm having trouble with formating the html output. I have the
>>black
>> background, and in function
>> function javni(){
>> echo "<font color="#FFFFFF">ovo je javna strana </font>" ;
>
>Here, PHP stops parsing the string which is to be printed by echo
>right
>before the #FFFFFF. You either need to break your fingers and
write:
>
>echo "<font col=\"#ff\".................";
>
>or have it much simpler, faster and better and use single quotes
>instead:
>
>echo '<font col="ff"..............';
I like it better like this:
function javni(){
?><font color="#FFFFFF">ovo je javna strana </font><?