Podręcznik PHP
Poprzedni |  | Następny

# mysqli_fetch_fields

(PHP 5 CVS only)

mysqli_fetch_fields

(no version information, might be only in CVS)

result->fetch_fields -- Returns an array of objects representing the fields in a result set

## Description

Procedural Style:

mixed mysqli_fetch_fields ( object result)

Object oriented style (method):

class result {
mixed fetch_fields ( int fieldnr)
}

This function serves an identical purpose to the mysqli_fetch_field() function with the single difference that, instead of returning one object at a time for each field, the columns are returned as an array of objects. For a description of the attributes of each object and their meaning, see the mysqli_fetch_field() function.

## Return values

Returns an array of objects which contains field definition informations or `FALSE` if no field information is available.

## See also

mysqli_num_fields() mysqli_fetch_field() mysqli_fetch_field_direct()

Poprzedni | Spis treści | Następny
mysqli_fetch_field | Początek rozdziału | mysqli_fetch_lengths