Modules/MTA-MySQL/mysql result

From Multi Theft Auto: Wiki


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