odbc_fetch_into
odbc_fetch_into
Fetch one result row into array
**odbc_fetch_into** Odbc\Result $statement array $array $row
Fetch one result row into .
array
statementodbc.result.object.
array
The result
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.
array
rowThe row number.
Returns the number of columns in the result; false on error.
Voorbeeld: examples
<?php
$rc = odbc_fetch_into($res_id, $my_array);
?>
or
<?php
$rc = odbc_fetch_into($res_id, $my_array, 2);
?>