fieldname(i)
field number (integer).
field name.
Bad parameter type, or too many arguments.
Invalid field number.
Invalid query result, or invalid connection.
fieldname() method allows to find a field name from its rank number. It can be useful for displaying a result. The fields are in the same order than the result values.