|
PHP5中文手册
maxdb_fetch_fieldresult->fetch_field(No version information available, might be only in CVS) result->fetch_field — Returns the next field in the result set 说明Procedural style:
mixed maxdb_fetch_field
( resource $result
)
Object oriented style (method): 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. 返回值Returns an resource which contains field definition informations or FALSE if no field information is available.
范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce the following output:
|