[PHP] html formating trouble

2001-09-14 Thread Nikola Veber
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

Re: [PHP] html formating trouble

2001-09-14 Thread Alexander Skwar
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

Re[2]: [PHP] html formating trouble

2001-09-14 Thread Andrew Perevodchik
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

Re: [PHP] html formating trouble

2001-09-14 Thread Alexander Skwar
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

Re[2]: [PHP] html formating trouble

2001-09-14 Thread Andrew Perevodchik
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

Re: [PHP] html formating trouble

2001-09-14 Thread Alexander Skwar
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

Re: [PHP] html formating trouble

2001-09-14 Thread Mark
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