PDA

Click to See Complete Forum and Search --> : \n problem


MrPolite
Feb 14th, 2002, 05:11 PM
I have a little problem with the "\n" thingie. I'm opening a new file in php and adding two strings in it like this:
string1 . "\n" . string2

the problem is that when I open the file in notepad, the cariage return character is shown like a "" (this isn't the copy pasted character). Do I have to use anything other than "\n" to go to the next line?

filburt1
Feb 14th, 2002, 05:24 PM
\r\n?

MrPolite
Feb 14th, 2002, 06:36 PM
tnx alot, it worked fine ! :)