MDB Win2k problem solved!!
| From: | filip | Date: | Mon, 04 Aug 2003 13:47:32 +0000 |
| Subject: | MDB Win2k problem solved!! | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-6990@lists.php.net to get a copy of this message | ||
Hi everybody who's migrating from Pear DB to MDB:
I fact the MDB fetchInto function (and undoubtedly others too, haven't yet
looked after) behaves differently than the Pear DB fetchInto function.
Constructs:
MDB: $r = $db->fetchInto($rsid));
Pear DB : $rsid->fetchInto($r));
The difference is quite crucial,
in pear db, $r is assigned by reference!
Wouldn't it be easier to have a standardized set of object methods and
properties?