array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'en', ), 'this' => array ( 0 => 'function.odbc-fetch-object.php', 1 => 'odbc_fetch_object', ), 'up' => array ( 0 => 'ref.uodbc.php', 1 => 'ODBC Functions', ), 'prev' => array ( 0 => 'function.odbc-fetch-into.php', 1 => 'odbc_fetch_into', ), 'next' => array ( 0 => 'function.odbc-fetch-row.php', 1 => 'odbc_fetch_row', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/uodbc/functions/odbc-fetch-object.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PHP 4 >= 4.0.2, PHP 5, PHP 7, PHP 8)
odbc_fetch_object — Fetch a result row as an object
Fetch an object from an ODBC query.
statement
The result resource from odbc_exec().
row
Optionally choose which row number to retrieve.
Returns an object that corresponds to the fetched row, or false
if there
are no more rows.
Note: This function exists when compiled with DBMaker, IBM DB2 or UnixODBC support.