Req #5178 [Bgs->Csd]: Access & numRows()
| From: | danielc@php.net | Date: | Sun, 23 Oct 2005 16:52:25 +0000 |
| Subject: | Req #5178 [Bgs->Csd]: Access & numRows() | ||
| References: | 1 | Groups: | php.pear.doc |
| Request: | Send a blank email to pear-doc+get-7064@lists.php.net to get a copy of this message | ||
Edit report at http://pear.php.net/bugs/bug.php?id=5178&edit=1
ID: 5178
Updated by: danielc@php.net
Reported By: michel dot zehnder at proact-it dot ch
-Status: Bogus
+Status: Closed
Id: 5178
Type: Feature/Change Request
Package: Documentation
Operating System: Windows
PHP Version: 5.0.4
Assigned To: danielc
New Comment:
I'm sorry. My test rig was messed up. Access doesn't support
numRows(). I'll update the documentation.
Previous Comments:
------------------------------------------------------------------------
[2005-10-23 12:02:57] danielc at php dot net
The method works properly for me. I strongly suspect that object
returned is a DB_Error object, meaning you have an error in your
script.
------------------------------------------------------------------------
[2005-08-22 17:58:19] michel dot zehnder at proact-it dot ch
Description:
------------
PEAR::DB 1.7.6
rumRows() gives back an object ID using against ODBC MS Access DB.Even
with DB_PORTABILITY_NUMROWS set.
Test script:
---------------
$numrows = $result->numRows();
Expected result:
----------------
integer
Actual result:
--------------
Object id #8
------------------------------------------------------------------------
--
Edit this bug report at http://pear.php.net/bugs/bug.php?id=5178&edit=1