|
PHP5中文手册
maxdb_num_fieldsresult->field_count(No version information available, might be only in CVS) result->field_count — Get the number of fields in a result 说明Procedural style:
int maxdb_num_fields
( resource $result
)
Object oriented style (property): result
int$field_count;
maxdb_num_fields() returns the number of fields from specified result set. 返回值The number of fields from a result set 范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce the following output:
|