Modules/MTA-MySQL/mysql result: Difference between revisions
Jump to navigation
Jump to search
(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 '''[...) |
mNo edit summary |
||
Line 1: | Line 1: | ||
<pageclass class="#AA7592" subcaption="MTA-MySQL Module"></pageclass> | |||
__NOTOC__ | __NOTOC__ | ||
{{ModuleFunction|MTA-MySQL}} | {{ModuleFunction|MTA-MySQL}} |
Latest revision as of 18:07, 5 January 2011
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.