|
Posted by "George Pitcher" on 08/24/05 16:43
> [snip]
> I seem to be having trouble with \n and \r in variables. I write my
> code on a linux box, and the server is linux. So I should always have
> \n\r, no? Is there a way the I could print $variable; and have it show
> me the /n and /r 's ? I tried with a srt_replace() on /n and on /r,
> but they do not get replaced. I also tried escaping the backslash,
> then double escaping that as was suggested somewhere in the
> php.net/manual, then triple escaping!
>
> Thanks ahead of time for any insight.
> [/snip]
I use \r\n on my winbox but maybe it doen't matter, though I though I had a
problem a few years back when I inadvertently used \n\r by mistake.
George
[Back to original message]
|