Re: DataObject tweak ok with DB and MDB2

From: Date: Thu, 07 Apr 2005 04:21:44 +0000
Subject: Re: DataObject tweak ok with DB and MDB2
References: 1 2 3 4 5  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-18587@lists.php.net to get a copy of this message
> > > > > - are DB_FETCHMODE_ASSOC and MDB2_FETCHMODE_ASSOC really different? > > the constants are all renamed, if you send a DB_FETCHMODE_ASSOC to a > MDB fetchRow it wont recognise it :) It's probably worth defining DB_DATAOBJECT_FETCHMODE_ASSOC, x (where x is the number that hopefully is the same on both drivers. > > args);; > > > > I'll give this a shot, but why was $db_options returning NULL > originally then ? > I'd have to look at the code to work that one out.. - from what I remember, normally it's not set, it's only if you use oracle you normally want to add the portability option. Regards Alan

« previous php.pear.general (#18587) next »