mysql_num_fieldsmysql_num_fields(result_id)This function returns the number of fields in a MySQL result set (result_id).The function name mysql_numfields may also be used,but is deprecated.