Modules/MTA-MySQL/mysql num fields: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(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...)
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<pageclass class="#AA7592" subcaption="MTA-MySQL Module"></pageclass>
__NOTOC__
__NOTOC__
{{ModuleFunction|MTA-MySQL}}
{{ModuleFunction|MTA-MySQL}}
Line 11: Line 12:


===Returns===
===Returns===
The number of fields in the given query
The number of fields in the given query result.


==See also==
==See also==
{{Modules/MTA-MySQL/Result_functions}}
{{Modules/MTA-MySQL/Result_functions}}

Latest revision as of 18:06, 5 January 2011


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 result.

See also