From:             [EMAIL PROTECTED]
Operating system: Redhat Linux 7.0
PHP version:      4.0.4pl1
PHP Bug Type:     ODBC related
Bug description:  calling odbc_fetch_row with a row number under DB2 does not work

Calling odbc_fetch_row() with a row number does not seem to work under DB2 UDB EEE 7.1.

"$RowData = odbc_fetch_row($result);" will return data into $RowData

"$RowData = odbc_fetch_row($result, 1);" returns false into $RowData, as if an error 
had occured

(I know there is data in the table because I can run the same select query in DB2's 
command center and get results.)

If the driver for DB2 doesn't support getting data by rows, then the function should 
just ignore the 2nd variable.  Instead, it looks like it's attempting to use it and 
it's not working correctly.  Am I doing something wrong here, or is this a bug?



-- 
Edit Bug report at: http://bugs.php.net/?id=8873&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to