Re: writing to a file

From: Date: Fri, 23 Mar 2001 05:17:05 +0000
Subject: Re: writing to a file
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-45248@lists.php.net to get a copy of this message
how would that look on a code view? i plan to write the variable $message on top of the existing data ""hi"" <noneofyourbusiness@none.com> wrote in message news:99ektl$gf0$1@toye.p.sourceforge.net... > 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. > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#45248) next »