Php/docs/function.fbsql-num-fields
来自菜鸟教程
fbsql_num_fields
(PHP 4 >= 4.0.6, PHP 5 < 5.3.0)
fbsql_num_fields — Get number of fields in result
说明
fbsql_num_fields
( resource $result
) : int
Returns the number of fields in the given result
set.
返回值
Returns the number of fields, as an integer.
参见
- fbsql_db_query() - Send a FrontBase query
- fbsql_query() - Send a FrontBase query
- fbsql_fetch_field() - Get column information from a result and return as an object
- fbsql_num_rows() - Get number of rows in result