|
mysqli_result::fetch_field_directmysqli_fetch_field_directFetch meta-data for a single field DescriptionObject-oriented style
public objectfalse mysqli_result::fetch_field_direct(int
$index )Procedural style objectfalse mysqli_fetch_field_direct(mysqli_result
$result , int $index )Returns an object which contains field definition information from the specified 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: SurfaceArea Table: Country max. Len: 10 Flags: 32769 Type: 4 See Also
|