Forum Moderators: coopster
$query = "SELECT * FROM table ORDER BY level LIMIT 20";
$result = mysql_query($query);
while($row = mysql_fetch_assoc($result)) {
code here
}
And when I go to the page it displays it like this:
2
31
4
344
5
3
4857
4389
48
2839
1
34
908
etc...
For some reason its doing that and I have no idea why. I'm just trying to order them from greatest to least.
Any help would be appreciated!