On Fri, Jun 27, 2008 at 7:01 AM, Wei, Alice J. <[EMAIL PROTECTED]> wrote:
> 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.


    This is generally your first stop when you have a question,
meaning you don't read the manual, right?  There are a few
file-writing tools included in a basic PHP build.

    Always RTFM before posting here.

    http://php.net/file-put-contents
    http://php.net/fwrite

-- 
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to