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== <...)
 
mNo edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<pageclass class="#AA7592" subcaption="MTA-MySQL Module"></pageclass>
__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()]]'''.



Latest revision as of 18:02, 5 January 2011


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