Php/docs/function.ingres-num-fields

来自菜鸟教程
跳转至:导航、​搜索

ingres_num_fields

(PHP 4 >= 4.0.2, PHP 5 < 5.1.0, PECL ingres >= 1.0.0)

ingres_num_fieldsGet the number of fields returned by the last query


说明

ingres_num_fields ( resource $result ) : int

ingres_num_fields() returns the number of fields in the results returned by the Ingres server after a call to ingres_query().


参数

result
The query result identifier


返回值

Returns the number of fields


参见