Re: getRow parameter order
| From: | Christian Joergensen | Date: | Thu, 06 Sep 2001 05:29:17 +0000 |
| Subject: | Re: getRow parameter order | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-303@lists.php.net to get a copy of this message | ||
On Thursday 06 September 2001 03:23, Darren Cook wrote:
> Can someone confirm the order of the parameters for getRow()
> (DB/common.php)? In V1.62 (the one that comes with 4.0.6) the 2nd
> parameter is $fetchmode, and $params is the 3rd param. But in 1.65 (that
> came with the very nice phpwin 4.0.7-dev package), $params is the 2nd
> parameter and $fetchmode is 3rd. But the comments above it still list
> $fetchmode second.
There's no difference between 1.62 and the newest 1.64.
> Is this just a bug in 1.65, or a deliberate change?
The current cvs version is 1.64.
Her the arbument order is:
getRow($query, $params = null, $fetchmode = DB_FETCHMODE_DEFAULT)
--
Christian Jørgensen / The data on your hard drive is out of balance.
http://www.razor.dk /