Query: odbc_fetch_into
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
ODBC_FETCH_INTO(3) 1 ODBC_FETCH_INTO(3) odbc_fetch_into - Fetch one result row into arraySYNOPSISint odbc_fetch_into (resource $result_id, array &$result_array, [int $rownumber])DESCRIPTIONFetch one result row into array.PARAMETERSo $result_id - The result resource. o $result_array - The result array that can be of any type since it will be converted to type array. The array will contain the column values starting at array index 0. o $rownumber - The row number.RETURN VALUESReturns the number of columns in the result; FALSE on error.EXAMPLESExample #1 odbc_fetch_into(3) examples <?php $rc = odbc_fetch_into($res_id, $my_array); ?> or <?php $rc = odbc_fetch_into($res_id, $my_array, 2); ?> PHP Documentation Group ODBC_FETCH_INTO(3)