Hi,
Can anyone explain to me how i can retrieve the 5th highest number in a column in a table. Basically, i've got a game, and after the game has finished i want to check whether the players score is good enough to enter the high score. Therefor i need to find out what the 5th highest number in the specific column.
I thought about trying something like this:
$highScore = mysql_query("SELECT * FROM $table ORDER BY score") or die(mysql_error());
$rows=mysql_fetch_array($highScore);
$score=$rows["score"];
echo $score;
but i need something more in the first line. Can anyone help please?
In advance, thanks