Re: [PHP] Generating a new line in a text file

2002-01-18 Thread DL Neil
Message - From: Chris Janes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: 18 January 2002 05:15 Subject: Re: [PHP] Generating a new line in a text file : : Ah, so you're opening the file in something that doesn't understand : newlines and prefers line feeds, then. : : In that case you'll want

Re: [PHP] Generating a new line in a text file

2002-01-18 Thread Chris Janes
: Chris, : \n = *nix : \r = Mac : \r\n = PC : (now that you've 'dropped' MS Notepad into the conversation...) The simplest M$ tools content themselves with : black blocks (apparently not being interested in your comfort), but the more sophisticated tools will sometimes : oblige... : =dn :

Re: [PHP] Generating a new line in a text file

2002-01-18 Thread Martin Wickman
Jason Murray wrote: : Don't know why it's got everyone else stumped. : : \n is the new line character. Make sure you use it in and : not in ''. : : Jason Unfortunately, that doesn't work either, it changes the \n that appeared at the end of the new line to a single black block. It does not

Re: [PHP] Generating a new line in a text file

2002-01-18 Thread TD - Sales International Holland B.V.
On Friday 18 January 2002 17:00, you wrote: FYI, In windows a newline is usualy made by CRLF (Carriage Return (\r) , Line Feed (\n)), in linux/unix it's usually just LF (\n) Jason Murray wrote: : Don't know why it's got everyone else stumped. : : \n is the new line character. Make sure

[PHP] Generating a new line in a text file

2002-01-17 Thread Chris Janes
It should be fairly simple, but it's got me and everyone else I've asked utterly stumped, all I need to do is place the data from a form on a newline in a text file, I can get the data into the text file, but I can't seem to get it on a new line. Here's what I have at the moment: $quote =

RE: [PHP] Generating a new line in a text file

2002-01-17 Thread Jason Murray
It should be fairly simple, but it's got me and everyone else I've asked utterly stumped, all I need to do is place the data from a form on a newline in a text file, I can get the data into the text file, but I can't seem to get it on a new line. Don't know why it's got everyone else

Re: [PHP] Generating a new line in a text file

2002-01-17 Thread Chris Janes
: : Don't know why it's got everyone else stumped. : : \n is the new line character. Make sure you use it in and : not in ''. : : Jason : Unfortunately, that doesn't work either, it changes the \n that appeared at the end of the new line to a single black block. It does not put the next quote

RE: [PHP] Generating a new line in a text file

2002-01-17 Thread Jason Murray
: Don't know why it's got everyone else stumped. : : \n is the new line character. Make sure you use it in and : not in ''. : : Jason Unfortunately, that doesn't work either, it changes the \n that appeared at the end of the new line to a single black block. It does not put the next

Re: [PHP] Generating a new line in a text file

2002-01-17 Thread Chris Janes
: : Ah, so you're opening the file in something that doesn't understand : newlines and prefers line feeds, then. : : In that case you'll want to use \r instead of \n. : : Jason You'll never guess what, that doesn't work either... still pretty black blocks, but no new line... In a foolish move