|
(PECL)
maxdb_fetch_field(no version information, might be only in CVS)
result->fetch_field -- Returns the next field in the result setProcedural style:
mixed maxdb_fetch_field ( resource result )Object oriented style (method):
class result {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.
Returns an resource which contains field definition informations or FALSE if no field information is available.
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 | maxdb_fetch_fields |
Hosting by: Hurra Communications Sp. z o.o.
Generated: 2007-01-26 18:02:47