Forum und email

Ora_Fetch_Into

(PHP 4, PHP 5 <= 5.0.5)

Ora_Fetch_Into — Sor betöltése megadott eredmény tömbbe

Leírás

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

Az Ora_Fetch_Into() egy sort tölt be a második paraméterben megadott tömbbe.

Example#1 Oracle sor betöltése tömbbe

<?php
array($results);
ora_fetch_into($cursor, &$results);
echo 
$results[0];
echo 
$results[1];
?>
Fontos, hogy a tömböt referencia szerint kell átadnod.

Lásd még az ora_parse(), ora_exec(), ora_fetch() és ora_do() függvényeket.