On Wed, 20 Nov 2002, Stig S. Bakken wrote:
> On Wed, 20 Nov 2002, Chandler, Jacob R wrote:
>
> > We are querying two different odbc databases using the Pear::DB library.
> > When we try to print out the number of Rows ($result->numRows()), the
> > output is 'Object'. We tried the same thing using
On Wed, 20 Nov 2002, Chandler, Jacob R wrote:
> We are querying two different odbc databases using the Pear::DB library.
> When we try to print out the number of Rows ($result->numRows()), the
> output is 'Object'. We tried the same thing using odbc and we are
> getting '-1' as the number of rows.
See:
http://www.php.net/manual/en/function.odbc-num-rows.php
"For a SELECT clause this _can_ be the number of rows available.
Note: Using odbc_num_rows() to determine the number of rows available after
a SELECT will return -1 with many drivers."
-Andreas
--
Andreas Karajannis
mediaworx berlin
: Chandler, Jacob R
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP-DEV] Pear::db and odbc issue
You can be helped by mailing to [EMAIL PROTECTED] or by
submitting a bug report at http://bugs.php.net.
--
Maxim Maletsky
[EMAIL PROTECTED]
"Chandler, Jacob R" <[EMAIL PROTECTED]> wrote... :
&
You can be helped by mailing to [EMAIL PROTECTED] or by
submitting a bug report at http://bugs.php.net.
--
Maxim Maletsky
[EMAIL PROTECTED]
"Chandler, Jacob R" <[EMAIL PROTECTED]> wrote... :
> We are querying two different odbc databases using the Pear::DB library.
> When we try to print out
We are querying two different odbc databases using the Pear::DB library.
When we try to print out the number of Rows ($result->numRows()), the
output is 'Object'. We tried the same thing using odbc and we are
getting '-1' as the number of rows. This appears to be an error because
there are results