mysql_num_fields

 int mysql_num_fields ( resource $result ) 

説明

Retrieves the number of fields from a query.

戻り値

Returns the number of fields in the result set resource on success or FALSE on failure.