|
PHP5中文手册
maxdb_fetch_field_directresult->fetch_field_direct(No version information available, might be only in CVS) result->fetch_field_direct — Fetch meta-data for a single field 说明Procedural style:
mixed maxdb_fetch_field_direct
( resource $result
, int $fieldnr
)
Object oriented style (method): result
mixed
fetch_field_direct
( int $fieldnr
)
maxdb_fetch_field_direct() returns an resource which contains field definition informations from specified resultset. The value of fieldnr must be in the range from 0 to number of fields - 1. 返回值Returns an resource which contains field definition informations or FALSE if no field information for specified fieldnr is available.
范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php The above examples would produce the following output:
|