PHP. Руководство по PHP. 2005
maxdb_num_fields
maxdb_num_fields
(PECL)maxdb_num_fields
(no version information, might be only in CVS)result->field_count --
Get the number of fields in a result
Description
Procedural style:int maxdb_num_fields (resource result)
Object oriented style (property):class result {
int field_count
}
maxdb_num_fields() returns the number of fields from specified result set.
Example
Пример 2. Procedural style
|
The above examples would produce the following output:
Result set has 3 fields. |
maxdb_next_result
maxdb_num_rows