mSQL Functions
PHP Manual

msql_num_fields

(PHP 4, PHP 5)

msql_num_fieldsGet number of fields in result

Description

int msql_num_fields ( resource $result )

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

Parameters

result

The result resource that is being evaluated. This result comes from a call to msql_query().

Return Values

Returns the number of fields in the result set.

See Also


mSQL Functions
PHP Manual