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

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
m (New page: __NOTOC__ {{ModuleFunction|MTA-MySQL}} Returns the number of rows in the given query result. ==Syntax== <syntaxhighlight lang="lua"> int mysql_num_rows ( MySQLResult result ) </syntaxhighlight> ===Required argumen...)
(No difference)

Revision as of 19:37, 14 January 2008


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 rows in the given query result.

Syntax

int mysql_num_rows ( MySQLResult result )

Required arguments

  • result: A valid MySQL result

Returns

The number of rows in the given query result.

See also