RE: [PHP] Newlines in files
| From: | Maxim Maletsky \(PHPBeginner.com\) | Date: | Wed, 03 Oct 2001 21:34:34 +0000 |
| Subject: | RE: [PHP] Newlines in files | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-69831@lists.php.net to get a copy of this message | ||
It did.
Try opening that file with a text editor.
Maxim Maletsky
www.PHPBeginner.com
-----Original Message-----
From: Big5ive [mailto:big5ive@gmx.net]
Sent: mercoledì 3 ottobre 2001 19.10
To: php-general@lists.php.net
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: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net To
contact the list administrators, e-mail: php-list-admin@lists.php.net