| 
 | mysqli_result::$field_countmysqli_num_fieldsGet the number of fields in a result DescriptionObject oriented style int$mysqli_result->field_count; Procedural style 
   int mysqli_num_fields
    ( mysqli_result  $result)Returns the number of fields from specified result set. Parameters
 
 Return ValuesThe number of fields from a result set. ExamplesExample #1 Object oriented style 
<?phpExample #2 Procedural style 
<?phpThe above examples will output: Result set has 5 fields. See Also
 
 |