Re: [PHP] newline problem

2002-07-24 Thread Justin French
A new line is NOT a or in HTML. Assuming this output is for HTML (browser) purposes, the browser will ignore newlines. second linethird line'; // works for HTML ?> Will print... this is first line second line third line ... to the browser. If you have a $string with \n's in it, you can co

Re: [PHP] newline problem

2002-07-24 Thread Jason Wong
On Thursday 25 July 2002 12:11, Wormy . wrote: > Dear all, > this sounds like a silly problem but i really dunno how to fix it! > > In the php manual on php.net said we can use an embedded newline just > by writing the string on different line by pressing "enter" key. This > doesn't work