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. M
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
: 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
:
Exc
e...
=dn
- Original 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
:
: 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 (p
> : 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
:
: 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 quo
> 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 s
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 = st
9 matches
Mail list logo