ODBC_FETCH_INTO(3) 1 ODBC_FETCH_INTO(3)
odbc_fetch_into - Fetch one result row into array
SYNOPSIS
int odbc_fetch_into (resource $result_id, array &$result_array, [int $rownumber])
DESCRIPTION
Fetch one result row into array.
PARAMETERS
o $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 VALUES
Returns the number of columns in the result; FALSE on error.
EXAMPLES
Example #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)