Modules/MTA-MySQL/mysql data seek: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(New page: __NOTOC__ Sets the row cursor of a result in the given row offset. The offset must be a value between '''1''' and '''mysql_num_rows()'''. ==Syntax== <...)
 
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
{{ModuleFunction|MTA-MySQL}}
Sets the row cursor of a result in the given row offset. The offset must be a value between '''1''' and '''[[Modules/MTA-MySQL/mysql_num_rows|mysql_num_rows()]]'''.
Sets the row cursor of a result in the given row offset. The offset must be a value between '''1''' and '''[[Modules/MTA-MySQL/mysql_num_rows|mysql_num_rows()]]'''.



Revision as of 18:02, 14 January 2008


Package-x-generic.png This function is provided by the external module MTA-MySQL. You must install this module to use this function.

Sets the row cursor of a result in the given row offset. The offset must be a value between 1 and mysql_num_rows().

Syntax

mysql_data_seek ( MySQLResult result, int offset )

Required arguments

  • result: A valid MySQL result
  • offset: A valid row offset

Returns

This function doesn't return any value.

See also