|
mysqli_result::fetch_fieldmysqli_fetch_fieldReturns the next field in the result set DescriptionObject-oriented style
public objectfalse mysqli_result::fetch_field()
Procedural style objectfalse 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
Example #2 Procedural style
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
|