Re: Re: Call to undefined function: fetchrow

From: Date: Wed, 07 Apr 2004 21:13:03 +0000
Subject: Re: Re: Call to undefined function: fetchrow
References: 1 2 3  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-27140@lists.php.net to get a copy of this message
Hi Lukas: On Wed, Apr 07, 2004 at 10:44:25PM +0200, Lukas Smith wrote: > >Luc de Louw wrote: > >>$handle = DB::connect($dsn,true); > >>$query = "SELECT quota FROM domain"; > >>$result4 = $handle->query($query, $handle); Since when was passing the DB object to the second argument of query() ever a valid syntax? The first release of DB in CVS is 1.2 and the current syntax is in use even back then. > Appearently inside the pearweb code was a similar typo which until the > recent DB update caused no problems. Espescially since this was just a > "lets make things cleaner" fix I suggest that its reverted to prevent > more people from stumbling over this BC break. What changed where? What's the complete error message that comes up? Thanks, --Dan -- T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y data intensive web and database programming http://www.AnalysisAndSolutions.com/ 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409

« previous php.pear.dev (#27140) next »