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 setDescription
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
Przykład 2. Procedural style
|
The above examples would produce the following output:
Name: NAME Table: max. Len: 10 Flags: -1 Type: 2 Name: CNO Table: max. Len: 4 Flags: -1 Type: 0 |
Poprzedni | Spis treści | Następny |
maxdb_fetch_field_direct | Początek rozdziału |