RE: [PHP-WIN] A problem writting to a file
| From: | Mikael Krogius \(Winwap Technologies\) | Date: | Wed, 20 Sep 2006 08:55:55 +0000 |
| Subject: | RE: [PHP-WIN] A problem writting to a file | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-27160@lists.php.net to get a copy of this message | ||
> I don't know if its a windows php version problem, but when I
> try to insert
> the newline caracter: '\' like this:
>
> fputs($this->fileID,'\n');
>
> it writes "\n" instead of creating a new line...
Try doing this:
$RowToWrite = $WriteThis."\r\n";
- Mikael