"Tyler Longren" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> On Sat, 25 Aug 2001 15:03:49 +1000
> "GaM3R" <[EMAIL PROTECTED]> wrote:
>
> > can anyone explain to me exactly what this would do differently?
> >
> > $data = fread($fp, filesize($file));
> >
> > $data = &fread($fp, filesize($file));
>
> That will stop fread from producing errors. So, if you don't want to see
> any error's from fread, put a & in front of it. This can also be done
> with other functions:
>
> $db = &mysql_select_db("dbname");
You're thinking of the @ error-control operator.
'=&' is 'get a reference to the returned array'.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]