The mysqli_field_tell() function returns the position of the field cursor.
Get field info for all fields, then get the current field with mysqli_field_tell() and print each column's name, table, and max length:
Parameter | Description |
---|---|
result | Required. Specifies a result set identifier returned by mysqli_query(), mysqli_store_result() or mysqli_use_result() |