(PHP 4, PHP 5)
msql_num_fields — Get number of fields in result
$result
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.