Modules/MTA-MySQL/mysql result

From Multi Theft Auto: Wiki
Revision as of 19:35, 14 January 2008 by Ryden (talk | contribs) (New page: __NOTOC__ {{ModuleFunction|MTA-MySQL}} Returns a string with the value of the given field with the given offsets, being these: * '''row_offset''': An integer value between '''1''' and '''[...)
(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 a string with the value of the given field with the given offsets, being these:

If the offset is invalid it returns nil.

Syntax

string mysql_result ( MySQLResult result, int row_offset, int field_offset )

Required arguments

  • result: A valid MySQL result

Returns

A string with the data contained in the given offset.

See also