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