HI, i am currently porting a MySQL-DB over to Ingres.
Be aware that the argument in the function call of ingres_num_fields is different from MySQL: mysql_num_fields (resource result) and ingres_num_fields (resource link)
ingres_num_fields
(PHP 4 >= 4.0.2, PHP 5 <= 5.0.5, PECL ingres >= 1.0.0)
ingres_num_fields — 直近のクエリにより返されたフィールドの数を得る
説明
int ingres_num_fields
([ resource $link
] )
ingres_num_fields() は、 ingres_query() をコールした後で、Ingres サーバにより返された結果のフィールド数を返します。
パラメータ
- link
-
接続リンク ID。省略した場合は、最後にオープンしたリンクを使用します。
返り値
フィールドの数を返します。
参考
- ingres_query() - Ingres に SQL クエリを送信する
- ingres_fetch_array() - 1 行分の結果を配列に取得する
- ingres_fetch_object() - 1 行分の結果をオブジェクトとして取得する
- ingres_fetch_row() - 1 行分の結果を数値添字配列として取得する
ingres_num_fields
burckhardtNOSPAM at CUTTHISgsf dot de
23-Jan-2002 05:25
23-Jan-2002 05:25
