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 for
A new line is NOT a br or br / in HTML.
Assuming this output is for HTML (browser) purposes, the browser will ignore
newlines.
?php
echo 'this is first linebrsecond linebrthird line'; // works for HTML
?
Will print...
this is first line
second line
third line
... to the browser.
If you
2 matches
Mail list logo