Re: question..
| From: | r a n d y | Date: | Wed, 16 Aug 2000 17:44:00 +0000 |
| Subject: | Re: question.. | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-12074@lists.php.net to get a copy of this message | ||
I usually use fopen() first then do a fputs() then fclose()
ala:
$file = fopen("file.txt", "a+");
$fp = fputs($file, $text);
fclose($file);
I know it doesn't make a damn bit of difference, but if you want to do a
while of for loop, you can do it after you open the file...and I am totally
an amateur so you can ignore me at any point.
randy
______________________________________________
http://www.randys.org
Free MAVICA or $500 ::: referer = iduh_2000@yahoo.com
http://gurusoftinc.com/gift/
For-pay Internet distributed processing.
http://www.ProcessTree.com/?sponsor=11087
> From: tyler.longren@midiowa.net (Tyler Longren)
> Newsgroups: php.general
> Date: 16 Aug 2000 10:04:25 -0700
> Subject: Re: [PHP] question..
>
> fputs("text.txt",$text, a+);