Re: & help

From: Date: Sat, 25 Aug 2001 15:55:52 +0000
Subject: Re: & help
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-64438@lists.php.net to get a copy of this message
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"); Tyler Longren On Sat, 25 Aug 2001 15:03:49 +1000 "GaM3R" <gamr@outworld.cx> wrote: > can anyone explain to me exactly what this would do differently? > > $data = fread($fp, filesize($file)); > > $data = &fread($fp, filesize($file)); > > ... > > > Cameron > outworld.cx >

« previous php.general (#64438) next »