Ora_Fetch_Into

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

Ora_Fetch_Into -- Fetch a row into the specified result array

Description

int ora_fetch_into (int cursor, array result, int [flags])

You can fetch a row into an array with this function.

Example 1. Oracle fetch into array

<?php
array($results);
ora_fetch_into($cursor, &$results);
echo $results[0];
echo $results[1];
?>
Note that you need to fetch the array by reference.

See also ora_parse(),ora_exec(), ora_fetch(), and ora_do().