Php/docs/function.fbsql-num-fields

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

fbsql_num_fields

(PHP 4 >= 4.0.6, PHP 5 < 5.3.0)

fbsql_num_fieldsGet number of fields in result


说明

fbsql_num_fields ( resource $result ) : int

Returns the number of fields in the given result set.


参数

result
fbsql_query()fbsql_db_query() 返回的结果标识符。


返回值

Returns the number of fields, as an integer.


参见