PHP. Руководство по PHP. 2005
maxdb_fetch_field
maxdb_fetch_field
(PECL)maxdb_fetch_field
(no version information, might be only in CVS)result->fetch_field -- Returns the next field in the result set
Description
Procedural style:mixed maxdb_fetch_field (resource result)
Object oriented style (method):class result {
mixed fetch_field (void)
}
The maxdb_fetch_field() returns the definition of one column
of a result set as an resource. Call this function repeatedly to retrieve
information about all columns in the result set.
maxdb_fetch_field() returns FALSE when no more fields
are left.
Return values
Returns an resource which contains field definition informations or FALSE if no field information
is available.
Example
Пример 2. Procedural style
|
The above examples would produce the following output:
Name: NAME |
maxdb_fetch_field_direct
maxdb_fetch_fields