PHP. Руководство по PHP. 2005
mysqli_num_fields
mysqli_num_fields
(PHP 5)mysqli_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 mysqli_num_fields (mysqli_result result)
Object oriented style (property):class mysqli_result {
int field_count
}
mysqli_num_fields() returns the number of fields from specified result set.
Примеры
Пример 2. Procedural style
|
Результат выполнения данного примера:
Result set has 5 fields. |
mysqli_next_result
mysqli_num_rows