fwrite() Append Files
| From: | Wei, Alice J. | Date: | Fri, 27 Jun 2008 11:01:46 +0000 |
| Subject: | fwrite() Append Files | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-276033@lists.php.net to get a copy of this message | ||
Hi,
I wonder if anyone on the list could tell me how to append the files as I am writing in them. I
have a file that has no more than five characters per line, and I would like to keep its spacing
between the lines. Right now I have the set up so that it could write in the first line, but the
problem is that all the lines after it never get written in to the desired file.
Is there some sort of command that I could use to append files as I am writing them? I would
provide the code if this is not clear enough.
Thanks in advance.
Alice
======================================================
Alice Wei
MIS 2009
School of Library and Information Science
Indiana University Bloomington
ajwei@indiana.edu