Ora_Fetch_Into

(PHP 3, PHP 4 >= 4.0.0)

Ora_Fetch_Into -- Lit une ligne dans un tableau

Description

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

ora_fetch_into() lit la ligne courante du résultat cursor dans le tableau result.

Exemple 1. Exemple ora_fetch_into()

<?php
array($results);
ora_fetch_into($cursor, &$results);
echo $results[0];
echo $results[1];
?>
Notez que vous devez passer le tableau par référence;

Voir aussi ora_parse(), ora_exec(), ora_fetch() et ora_do().