ID: 10469
Comment by: gaikwad dot sanjay at yahoo dot com
Reported By: ltning at anduin dot net
Status: No Feedback
Bug Type: ODBC related
Operating System: Linux Slackware 7.1+
PHP Version: 4.0.4pl1
New Comment:
I also got similar issue when I tryed use odbc_fetch_row($rs, 0) on DB2
database.
if ($num_records < 0) { // If odbc_num_rows returns -1 value then we
can calculate the record count using while loop.
$num_records=0;
while(odbc_fetch_row($rs)) {
$num_records++;
}
odbc_fetch_row($rs, 0); //This will point firsr record of the
record
set
}
after executing this code when i try execute odbc_result($rs,1); it
gives blank value where as value is present in database.It works fine
with other databases.
Previous Comments:
------------------------------------------------------------------------
[2002-05-17 00:00:04] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-04-16 14:18:33] [EMAIL PROTECTED]
is this bug still valid in the recent releases?
------------------------------------------------------------------------
[2001-06-12 10:28:10] [EMAIL PROTECTED]
not recognizing anything as a bug yet, i haven't gotten db2 installed
to try these out :P
------------------------------------------------------------------------
[2001-06-08 16:14:35] ltning at anduin dot net
Heh.. Does that mean you recognize both as bugs, not user
errors? I'd be real pleased to hear that, since I've been
tearing out a considerable amount of hair over these two..
Hope you can figure it out asap, I'm currently working
around the problems in various not-so-pretty ways..
-Eirik
------------------------------------------------------------------------
[2001-06-08 15:51:08] [EMAIL PROTECTED]
saw the other bug too. i've seen it for awhile. it falls under the 2
problems i currently have. :\
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/10469
--
Edit this bug report at http://bugs.php.net/?id=10469&edit=1