IT学习者 -> 技术文档 -> PHP 完全中文手册

函数:msql_num_fields()


msql_num_fields

取得返回字段的数目。

语法: int msql_num_fields(int query_identifier);

返回值: 整数

函数种类: 数据库功能

内容说明

本函数可以得到返回字段的数目。参数 query_identifier 为查询的代号。

参考

msql()  msql_query()  msql_fetch_field()  msql_num_rows()  



[ 上一页  PHP中文手册  下一页 ]

PHP 首页 | PHP 导读 | PHP 函数库 | PHP 函数索引 | PHP 范例程序