Modules/MTA-MySQL/mysql result

From Multi Theft Auto: Wiki
Revision as of 18:07, 5 January 2011 by Alberto Alonso (talk | contribs)
(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