I want use mysql_data_seek with PDO from google search I found that it should looks like this:
$row0 = $result->fetch(PDO::FETCH_ASSOC, PDO::FETCH_ORI_ABS
You could do it like this:
$c = 1; $saved=null; while($row = $q->fetch()){ if($c==4){ $saved = clone $row; }; $c++; somethingelse; }
$saved will then contain the 4th element as an object with almost no extra overhead calculations.