mysqli_num_fields result->num_fields Get the number of fields in a result Description Procedural style: intmysqli_num_fields objectresult Object oriented style (property): mysqli intfield_count mysqli_num_fields returns the number of fields from specified result set. &reftitle.returnvalues; The number of fields from a result set &reftitle.seealso; mysqli_fetch_field