ifx_fieldproperties
列出 Informix 的 SQL 字段属性。
语法: array ifx_fieldproperties(int result_id);
返回值: 数组
函数种类: 数据库功能
内容说明
本函数可以获得 Informix 的 SQL 指令返回字段的属性。参数 result_id 是经过 ifx_query() 或 ifx_prepare() 的返回代号。
使用范例
本例为程序的一部份
?php
$properties = ifx_fieldtypes($resultid);
if (! isset($properties)) {
// 错误处理
}
for ($i = 0; $i count($properties); $i++) {
$fname = key($properties);
printf("%s:t type = %sn", $fname, $properties[$fname]);
next($properties);
}
?



