RE: A problem writting to a file

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux