|
(PHP 5)
mysqli_num_fields(no version information, might be only in CVS)
result->field_count -- Get the number of fields in a resultProcedural style:
int mysqli_num_fields ( mysqli_result result )Object oriented style (property):
class mysqli_result {mysqli_num_fields() returns the number of fields from specified result set.
Example 2. Procedural style
|
The above example will output:
Result set has 5 fields. |
Hosting by: Hurra Communications Ltd.
Generated: 2007-01-26 18:00:08