Modules/MTA-MySQL/mysql result
From Multi Theft Auto: Wiki
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:
- row_offset: An integer value between 1 and mysql_num_rows()
- field_offset: An integer value between 1 and mysql_num_fields()
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.