array ifx_fieldtypes
result_id のクエリーについて フィールド名をキーとし、SQL フィールド型をデータとした連想配列を返します。 エラーの場合にfalseを返します。
例 1. フィールド名および SQL フィールド型
1 2 $types = ifx_fieldtypes ($resultid); 3 if (! isset ($types)) { 4 ... エラー処理 ... 5 } 6 for ($i = 0; $i < count($types); $i++) { 7 $fname = key($types); 8 printf("%s :\t type = %s\n", $fname, $types[$fname]); 9 next($types); 10 } 11