to put my orders into $fileContent. How does one place
> the output of
>
> while($row = mysql_fetch_array( $result ))
> {
> }
>
> into $fileContent?
>
> Thx.
>
> Mayo
>
>
>
>
>
> -Original Message-
> From: Richard Lynch [mailto:
of
while($row = mysql_fetch_array( $result ))
{
}
into $fileContent?
Thx.
Mayo
-Original Message-
From: Richard Lynch [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 01, 2005 1:13 AM
To: mayo
Cc: php-general@lists.php.net
Subject: Re: [PHP] FW: write to file, difficulty inputting
On Tue, May 31, 2005 5:32 pm, mayo said:
> if (!$handle = fopen($filename, 'w')) {
This will WIPE OUT the existing file, and write a *NEW* file, from 0,
starting from scratch.
So you'll never have anything but the LAST item.
You could use "a+" to append to the end of the file...
But you *SH
3 matches
Mail list logo