(PHP 3, PHP 4 , PHP 5)

msql_num_fields -- Get number of fields in result


int msql_num_fields ( resource query_identifier)

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

For downwards compatability, 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().