msql_num_fields() returns the number of fields in a result set.
For downwards compatibility, the alias named msql_numfields() may be used. This, however, is deprecated and not recommended.
See also: msql_query(), msql_fetch_field(), and msql_num_rows().