|
mysqli_result::fetch_fieldmysqli_fetch_fieldReturns the next field in the result set DescriptionObject oriented style
object mysqli_result::fetch_field
( void
)
Procedural style
object mysqli_fetch_field
( mysqli_result
$result
)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. Parameters
Return Values
Returns an object which contains field definition information or
ExamplesExample #1 Object oriented style
<?php Example #2 Procedural style
<?php The above examples will output: Name: Name Table: Country max. Len: 11 Flags: 1 Type: 254 Name: SurfaceArea Table: Country max. Len: 10 Flags: 32769 Type: 4 See Also
|