It did.
Try opening that file with a text editor. Maxim Maletsky www.PHPBeginner.com -----Original Message----- From: Big5ive [mailto:[EMAIL PROTECTED]] Sent: mercoledì 3 ottobre 2001 19.10 To: [EMAIL PROTECTED] Subject: [PHP] Newlines in files My Code: $PW_LIST="../config/pw.txt"; $fp=fopen("$PW_LIST","a"); fputs($fp,"$username=$pw\n"); fclose($fp); This should make a newline after printing $username=$pw, shouldn't it!? But it doesn't!!! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]