Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2001032

Re: [PHP] writing to a file From: adam (vawan <email protected>)
Date: 03/23/01

how would that look on a code view? i plan to write the variable $message on
top of the existing data

""hi"" <noneofyourbusiness <email protected>> wrote in message
news:99ektl$gf0$1 <email protected>
> 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 <email protected>
> For additional commands, e-mail: php-general-help <email protected>
> To contact the list administrators, e-mail: php-list-admin <email protected>
>

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe <email protected>
For additional commands, e-mail: php-general-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>