public dataSeek (mixed $number)
Moves internal resultset cursor to another position letting us to fetch a certain row
$result = $connection->query("SELECT * FROM robots ORDER BY name");
$result->dataSeek(2); // Move to third row on result
$row = $result->fetch(); // Fetch third row
Please login to continue.