Re: writing to a file

From: Date: Fri, 23 Mar 2001 04:58:06 +0000
Subject: Re: writing to a file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-45245@lists.php.net to get a copy of this message
Don't even bother with that previous answer. You have what you want to write in a string, $new. Read the file and put that into another string, $previous. Then concatenate the strings with the "." operator: $previous=$new . $previous and write $previous to the file.

« previous php.general (#45245) next »