|
PHP5中文手册
mysqli_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:
object mysqli_fetch_field
( mysqli_result $result
)
Object oriented style (method): mysqli_result
object fetch_field
( void
)
Returns the definition of one column of a result set as an object. Call this function repeatedly to retrieve information about all columns in the result set. 参数
返回值Returns an object which contains field definition information or FALSE if no field information is available.
范例Example#1 Object oriented style
<?php Example#2 Procedural style
<?php 上例将输出:
|