int maxdb_num_fields    ( resource $result   )

maxdb_num_fields -- maxdb_result::field_countGet the number of fields in a result