[EMAIL PROTECTED] (Big5ive) wrote:

 > 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!!!

after printing where? in a browser \n does NOT mean newline only on
console and in file etc. if you print it in a browser use nl2br();

-- 
Henrik Hansen

-- 
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]

Reply via email to