PHP 4.0 Bug #8873 Updated: calling odbc_fetch_row with a row number under DB2 does not work

From: Date: Wed, 24 Jan 2001 03:29:35 +0000
Subject: PHP 4.0 Bug #8873 Updated: calling odbc_fetch_row with a row number under DB2 does not work
Groups: php.dev 
Request: Send a blank email to php-dev+get-44874@lists.php.net to get a copy of this message
ID: 8873 User Update by: stuarth@generalsearch.net Old-Status: Open Status: Closed Bug Type: ODBC related Description: calling odbc_fetch_row with a row number under DB2 does not work Forget it. It was a problem with my class, not the function. Previous Comments: --------------------------------------------------------------------------- [2001-01-23 22:02:55] stuarth@generalsearch.net 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? --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8873

« previous php.dev (#44874) next »