db_data_seek From Online Manual

Revision as of 16:40, 11 October 2012 by AngelinaBelle (talk | contribs) (refresh SMW properties)
Jump to: navigation, search

Usage:

$smcFunc['db_data_seek'] (result, row_number)


Description: Works exactly like mysql_data_seek, it moves the internal row pointer for result the the row specified in row_number. Emulated while using PostgreSQL with smf_db_data_seek.

Parameters:

  • result a query resource obtained with db_query.
  • row_number is the row number you wish the pointer to be at.

Return: true on success, false on failure.

Example:

// Start from the beginning...
if ($reset)
	return @$smcFunc['db_data_seek']($messages_request, 0);



Advertisement: