Re: [pear-webmaster] Error in sample code for DB::fetch() method/function

From: Date: Wed, 20 Feb 2002 18:51:01 +0000
Subject: Re: [pear-webmaster] Error in sample code for DB::fetch() method/function
References: 1  Groups: php.pear.webmaster 
Request: Send a blank email to pear-webmaster+get-57@lists.php.net to get a copy of this message
On Wed, 20 Feb 2002 14:10:50 -0000, Young, Eddy \(UK - England\) wrote: >I noted an error in the sample code on the documentation page for >DB::fetch(). The result of the DB::query() is assigned to the variable $res, >but later on in the code, you do DB_Result::fetchRow() on $result. Minor as >it is, I thought you'd like to know about this since it could be confusing for >PHP/PEAR beginners. Thanks, I commited the patch. The documentation should be updated tomorrow or so. - Martin

« previous php.pear.webmaster (#57) next »