RE: [PHP] writing to a txt file

From: Date: Wed, 12 Jul 2000 09:28:22 +0000
Subject: RE: [PHP] writing to a txt file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-6101@lists.php.net to get a copy of this message
try fwrite ($fpr, "$no $empl_nr\n"); - - - - - - - - - - - - - - - - - - - - Jonathan Wright [DjNA] mail@djna.fsnet.co.uk www.djna.fsnet.co.uk ICQ [21961373] : -----Original Message----- : From: Fredrik Arild Takle [mailto:ftakle@online.no] : Sent: 12 July 2000 10:18 : To: php-general@lists.php.net : Subject: [PHP] writing to a txt file : : : Hi there! : : I have a problem when I'm writing to a txt file from a PHP : document... After an entry I want a line break like <br> : : this is the source: : <? : $filnavn = "liste.txt"; : $fpr = fopen($filnavn, "a+"); : // fclose($fpr); : fwrite ($fpr, "$no $empl_nr" . chr(13)); : : // fclose($fpr) : ?> : : You can see that I've tried chr(13) but it does'nt work! : : Need help! : : Best Regards : Fredrik A. Takle : ftakle@online.no :

« previous php.general (#6101) next »