escape \n

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello guys i am trying to figure out what is worng with thoose special escaped character, like \n \t \r ...

As i cannot make them working. The browser doesn't display them, but doesn't eithr crate a new line, or else.
I am using them fro example like this:

print: "this shoudl be on a line \nwhile this on a new line";

I've searched google and saw man people struggling with this, but apparently not a clear answer to why....maybe is a stupid beginner question, but i would just like to know.  (Personally i solved for the moment by printing out <br> or <pre>, but i would like to understand this.

Cheers, Nick

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux