|
mysqli_result::$current_fieldmysqli_field_tellGet current field offset of a result pointer DescriptionObject-oriented style
int$mysqli_result->current_field;
Procedural style
int mysqli_field_tell(mysqli_result
$result )Returns the position of the field cursor used for the last mysqli_fetch_field call. This value can be used as an argument to mysqli_field_seek. Parameters
Return ValuesReturns current offset of field cursor. ExamplesExample #1 Object-oriented style
Example #2 Procedural style
The above examples will output: Column 1: Name: Name Table: Country max. Len: 11 Flags: 1 Type: 254 Column 2: Name: SurfaceArea Table: Country max. Len: 10 Flags: 32769 Type: 4 See Also
|