db_data_seek From Online Manual

Revision as of 14:57, 12 October 2012 by AngelinaBelle (talk | contribs) (the the -> to the)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

Usage:

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


Description: Works exactly like mysql_data_seek, it moves the internal row pointer for result to 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: