Hi!
thanks for reviewing this email.
I have wrote this script and I have checked it but for some reasons (I
don't know what) it doesn't work.
Could any body please check and give some feedback please?
?PHP
include(heading.inc);
echo Result :\n; - THIS DOESN'T GIVE
Dani -
D echo Result :\n; - THIS DOESN'T GIVE ME A
D NEW LINE- WHY ?
If you look at the source code of your page you'll see a new line
there.
If you want a new line in the browser output, you must place a BR at
that point, not a \n since it's HTML.
Hope this helps.
I assume you your displaying a web page. HTML ignores \n ... You need to
insert a br.
- Original Message -
From: Dani [EMAIL PROTECTED]
To: PHP LIST [EMAIL PROTECTED]
Sent: Saturday, January 12, 2002 8:25 PM
Subject: [PHP] Please \n problem
Hi!
thanks for reviewing this email
Thanks Alot Guys!!!
It works!
now my next question is :
When do I actually use \n???
Thank you so much!
Gianluca Baldo wrote:
Dani -
D echo Result :\n; - THIS DOESN'T GIVE ME A
D NEW LINE- WHY ?
If you look at the source code of your page you'll see a
The \n can be useful for when you want to look at the source code from an
HTML page. It will not make a new line within the browser, but it sure
can make reading the source alot easier... otherwise all of the code goes
onto the same line... which also can be useful if you want it be difficult
5 matches
Mail list logo