Modules/MTA-MySQL/mysql num fields

From Multi Theft Auto: Wiki
Revision as of 19:36, 14 January 2008 by Ryden (talk | contribs) (New page: __NOTOC__ {{ModuleFunction|MTA-MySQL}} Returns the number of fields in the given query result. ==Syntax== <syntaxhighlight lang="lua"> int mysql_num_fields ( MySQLResult result ) </syntaxhighlight> ===Required arg...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


Package-x-generic.png This function is provided by the external module MTA-MySQL. You must install this module to use this function.

Returns the number of fields in the given query result.

Syntax

int mysql_num_fields ( MySQLResult result )

Required arguments

  • result: A valid MySQL result

Returns

The number of fields in the given query

See also