ora_fetch_intoとは? わかりやすく解説

Weblio 辞書 > コンピュータ > PHP関数リファレンス > ora_fetch_intoの意味・解説 

ora_fetch_into

(PHP 4, PHP 5 <= 5.0.5)
ora_fetch_into — 指定した配列resultにレコードを取得する

説明

int ora_fetch_into ( resource cursor, array &result [, int flags] )
データ行を配列にフェッチします。 flags には 2 種類あります。 ORA_FETCHINTO_NULLS が指定された場合、 NULL 値を持つカラムは配列にセットされますが、 ORA_FETCHINTO_ASSOC が指定された場合、 連想配列が生成されます。
フェッチされたから無数を返します。
例 1572. ora_fetch_into() の使用例
<?php
$results = array();
ora_fetch_into($cursor, $results);
echo $results[0];
echo $results[1];
$results = array();
ora_fetch_into($cursor, $results, ORA_FETCHINTO_NULLS|ORA_FETCHINTO_ASSOC);
echo $results['MyColumn'];
?>


ora_parse(),ora_exec(), ora_fetch(), ora_do()も参照 ください。



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

「ora_fetch_into」の関連用語

ora_fetch_intoのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



ora_fetch_intoのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
PHP Documentation GroupPHP Documentation Group
Copyright © 1997 - 2024 by the PHP Documentation Group.

©2024 GRAS Group, Inc.RSS