Hey there
say I have this
$result = mysql_query('SELECT views FROM post ORDER BY views ASC');
and I want to use the value at index 30 I assumed I would use
mysql_data_seek($result, 30);
$useableResult = mysql_fetch_row($result);
echo $useableResult . '<br/>';
But that is returning my whole table
What have I got wrong?
Edit: Woops, I actually have
mysql_data_seek($result, 30);
while($row = mysql_fetch_row($result)){
echo $row['views'] . '<br/>';
}