PHP 7.1.0 Release Candidate 4 Released


(PHP 4, PHP 5, PHP 7)

msql_num_fieldsGet number of fields in result


int msql_num_fields ( resource $result )

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



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

add a note add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top