Why It can't be added on newline?

Posted by Tianxz on Tue 25 May 2010 05:40 AM — 2 posts, 11,652 views.

#0
In php. I use the command $world->AppendToNotepad('Nick window', $info.'\r\n') like the document. But the info can be added on the newline. It display $info.'\r\n' in the notepad. the '\r\n' doesn't be translated to newline char.
Australia Forum Administrator #1
See: http://php.net/manual/en/language.types.string.php

In PHP single quotes do not process the escape characters. Use double-quotes.