I'm having trouble with formating the html output. I have the black
background, and in function
function javni(){
echo font color=#FFovo je javna strana /font ;
}
I get the parse error in the last function line. If I remove the font
tag, it works ok, but the text is black as well.
body
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=#FFovo je javna strana /font ;
Here, PHP stops parsing the string which is to be printed by echo
echo font color=#FFovo je javna strana /font ;
AS Here, PHP stops parsing the string which is to
AS be printed by echo right before the #FF.
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
So sprach »Andrew Perevodchik« am 2001-09-14 um 22:15:40 +0300 :
Or try something like this (but i'm shure you
won't want to use it :)
echo END
Oh, right, totaly forgot about here-docs :) What's the use of it
anyhow? I mean, normal strings (double-/singlequotes) can also span
multiple
AS Oh, right, totaly forgot about here-docs :)
AS What's the use of it anyhow? I mean, normal
AS strings (double-/singlequotes) can also span
AS multiple lines.
The only reason i see -- you don't have to escape
any quotes. You can just paste a piece of HTML and
insert variables in there without
So sprach »Andrew Perevodchik« am 2001-09-14 um 22:34:02 +0300 :
The only reason i see -- you don't have to escape
any quotes. You can just paste a piece of HTML and
insert variables in there without ?=...? ;)
Yep, that's the only reason I see for here-docs as well.
Alexander Skwar
--
How
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=#FFovo je javna strana /font ;
Here, PHP
7 matches
Mail list logo