(PHP 3, PHP 4 )
Ora_Fetch_Into -- 指定した配列resultにレコードを取得する
説明
int
ora_fetch_into ( int cursor, array result, int
[flags])
この関数により、1件のレコードを配列に取得します。
例 1Oracleレコードを配列に取得する <?php
array($results);
ora_fetch_into($cursor, &$results);
echo $results[0];
echo $results[1];
?> |
|
配列をリファレンスで取得する必要があることに注意して下さい。
ora_parse(),ora_exec(),
ora_fetch(), ora_do()も参照
下さい。