Modules/MTA-MySQL/mysql field seek

From Multi Theft Auto: Wiki
Revision as of 18:06, 5 January 2011 by Alberto Alonso (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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 field cursor of a result in the given field offset. The offset must be a value between 1 and mysql_num_fields().

Syntax

int mysql_field_seek ( MySQLResult result, int offset )

Required arguments

  • result: A valid MySQL result
  • offset: A valid field offset

Returns

The previous field cursor.

See also