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.

锟轿硷拷