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




--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to