fetchRow()

From: Date: Fri, 16 Mar 2001 18:14:56 +0000
Subject: fetchRow()
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-32@lists.php.net to get a copy of this message
Speaking of fetchRow() ... is there any reason there isn't a fetchObject() method? At the very simplest, couldn't you just do something like this in DB_common: function &fetchObject($result) { return (object)$this->fetchRow($result, DB_FETCHMODE_ASSOC ); } -- Colin Viebrock Co-Founder, easyDNS Technologies Inc. http://www.easyDNS.com/

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