msql_num_fields

(PHP 4, PHP 5, PHP 7)

msql_num_fieldsGet number of fields in result

˵��

msql_num_fields ( resource $result ) : int

msql_num_fields() returns the number of fields in a result set.

����

result

resource �͵Ľ�������˽�������Զ� msql_query() �ĵ��á�

����ֵ

Returns the number of fields in the result set.

�μ�