PHP Manualmysqli_num_fieldsresult->field_count(No version information available, might be only in CVS) result->field_count — Get the number of fields in a result DescriptionProcedural style:
int mysqli_num_fields
( mysqli_result $result
)
Object oriented style (property): mysqli_result
int$field_count;
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 example will output:
|
PHP-Index
New Tutorial entries
|





