On 8/25/05, Richard Lynch <[EMAIL PROTECTED]> wrote:
>
> Windows uses \r\n
> Linux uses \n
> Mac uses \r
>
> Depending on what tools you use to read/write/create the files, and
> where the data comes from, it's possible that you have any of those
> formats.
>
> This is especially true of FORM da
If you're reading this text from a file, and then splitting it into
seperate lines, then I personally think you should leave this to the
built-in file() function.
On 8/24/05, Dotan Cohen <[EMAIL PROTECTED]> wrote:
> I seem to be having trouble with \n and \r in variables. I write my
> code on a
On Wed, August 24, 2005 8:33 am, Dotan Cohen wrote:
> 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
On 8/24/05, Jay Blanchard <[EMAIL PROTECTED]> wrote:
> [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
Dotan Cohen wrote:
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
you are mixing /n and \n etc etc - stop it :-)
\n is a new line in linux
\r is a new line in (older?) version of MacOS
\r\n
> [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
[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 no
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 r
8 matches
Mail list logo