Newlines in files

From: Date: Wed, 03 Oct 2001 17:09:54 +0000
Subject: Newlines in files
Groups: php.general 
Request: Send a blank email to php-general+get-69792@lists.php.net to get a copy of this message
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!!!

« previous php.general (#69792) next »