|
PHP5中文手册
mysqli_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:
object mysqli_fetch_field_direct
( mysqli_result $result
, int $fieldnr
)
Object oriented style (method): mysqli_result
object fetch_field_direct
( int $fieldnr
)
Returns an object which contains field definition informations from specified resultset. 参数
返回值Returns an object which contains field definition information or FALSE if no field information for specified fieldnr is available.
范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php 上例将输出:
|