next up previous contents
Next: field.info; BYTE Up: Communication with the MySQL Previous: null.values   Contents

Subsections

field.names

Provides the names of the fields of the current result set. This message is just a shorthand for field.info; field.name.

Answer

data.field.names; MOBILE []MOBILE []BYTE containing the names of the fields. If the field was given an alias with an AS clause, the alias is given as name.

Errors

no.data.error if there is no current result set, that is, if the last query didn't return any rows, if the last query caused a mysql.error or if no query has been executed yet.



Espen Suenson 2006-07-07