Re: CRLF in file
| From: | Malcolm Brownell | Date: | Sun, 26 Jan 2003 17:27:15 +0000 |
| Subject: | Re: CRLF in file | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-133175@lists.php.net to get a copy of this message | ||
Thank you Jason,
If you'll bear with me for one more question --
The /\ fix did what I wanted but now the word Array
appears before the first var -- the text file looks like this -
Array$hostname = hostname
$SQL_USER = username
$SQL_PWD = dbpass
I know this is php telling me the data is an array but can I supress this somehow so all I'll
print is the keys and vals?
thanks
malcolm
On Mon, 27 Jan 2003 00:35:01 +0800, php-general@gremlins.biz (Jason Wong) wrote:
> On Sunday 26 January 2003 22:13, Malcolm Brownell wrote:
> > Hello,
> >
> > I'm having trouble with /r/n when I try to write to a file.
>
> It's "\r\n" that you want.
>
> --
> Jason Wong -> Gremlins Associates -> www.gremlins.biz
> Open Source Software Systems Integrators
> * Web Design & Hosting * Internet & Intranet Applications Development *
>
> /*
> If wishes were horses, then beggars would be thieves.
> */
>