Re: DB first time use
| From: | Paul M Jones | Date: | Tue, 27 Apr 2004 02:52:28 +0000 |
| Subject: | Re: DB first time use | ||
| References: | 1 2 3 4 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-12144@lists.php.net to get a copy of this message | ||
On Apr 26, 2004, at 10:11 PM, deflin39@deflin.net wrote:
Have you tried setting $db->setFetchmode(DB_FETCHMODE_ASSOC) before the query? -- Paul M. Jones Savant: the simple alternative to Smarty for PHP. http://phpsavant.com/ DB_Table: build RDBMS tables and XHTML forms in one PHP class. http://wiki.ciaweb.net/yawiki/index.php?area=DB_Table Yawiki: your collaborative online documentation system. http://wiki.ciaweb.net/yawiki/index.php?area=Yawikiwhile ($res->fetchInto($agent)) {echo $agent['name'] . "\n"; //returns Undefined index: Name}