Home > PHP > Function > ODBC > odbc_fetch_into()

odbc_fetch_into()

odbc_fetch_into - Fetch one result row into array

Syntax

int odbc_fetch_into (resource $result_id, array &$result_array, int $rownumber)

Arguments

  • result_id - The result resource.
  • 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.
  • rownumber - The row number.

Description

Fetch one result row into array.

Version

PHP 4, 5

Return value

Returns the number of columns in the result; FALSE on error.