msql_num_fields

(PHP 3 <= 3.0.18, PHP 4 >= 4.0.0)

msql_num_fields -- Get number of fields in result

Description

int msql_num_fields (int query_identifier)

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

See also: msql(), msql_query(), msql_fetch_field(), and msql_num_rows().