if ($res = sql_select('column', 'table')) { if (sql_seek($res, 9)) { // go to number 10 $r = sql_fetch($res); // $r['column'] of the 10th result } // return back to the start sql_seek($res, 0); }