Posted by Sheldon Glickler on 02/23/06 04:43
"Erwin Moller"
<since_humans_read_this_I_am_spammed_too_much@spamyourself.com> wrote in
message news:43fc31e5$0$11065$e4fe514c@news.xs4all.nl...
> show some code please.
The solution was to double quote the \n and \r. IOW have
$to_be_written= $the_added_line . "\\r\\n" ;
fwrite($handle_for_open_file, $to_be_written);l.
I found this buried dedep inside the fwrite documentation. I know, Iknow.
RTFM.
www.php.net is great.
Shelly
[Back to original message]
|