Re: How to put a "new line" character with fputs($birthday_file, $content);
| From: | Duncan Hill | Date: | Sun, 23 Jun 2002 21:05:05 +0000 |
| Subject: | Re: How to put a "new line" character with fputs($birthday_file, $content); | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-103494@lists.php.net to get a copy of this message | ||
On Fri, 21 Jun 2002, Alfredo wrote:
> Hi,
>
> I am saving the result of a query on a text file. Then I want to open it
> with excel.
>
> At the moment, when I open it with excel, all results appear in one very
> long line. How could I insert a "new line" character at the end of each
> record?
Unix considers a line feed to be \n
Windows/DOS use \r\n