Home » » odbc_fetch_array

odbc_fetch_array

Written By 1 on Monday, October 1, 2012 | 6:20 PM

array odbc_fetch_array ( resource $result [, int $rownumber ] )

Fetch a result row as an associative array

Fetch an associative array from an ODBC query. See the changelog below for when this function is available.


I use an odbc connection to a mssql2000 db. As long as I had set ansi_warnings on, I occasionnally got the last record twice when retrieving them with odbc_fetch_array or odbc_fetch_row and odbc_result.

4.3.3 This function exists when compiled with IBM DB2 or UnixODBC support. 4.3.2 This function exists when compiled for Windows. 4.0.2 This function exists when compiled with DBMaker support.


0 Comment:

Post a Comment