PHPTS:一键免费搭建 Nginx + PHP + MySQL 运行环境

fbsql_num_fields

(PHP 4 >= 4.0.6, PHP 5, PHP 7)

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.

参见