Jump to content

sort ordering


treez

Recommended Posts

I have a thing that is listing me some stuff from my database.

[code]$jo_result = mysql_query("SELECT * FROM users_pages ORDER BY views DESC LIMIT 30");
while ( $jo_row = mysql_fetch_array($jo_result) )
{[/code]

But when it lists it by VIEWS it goes like this:

97
95
9
85
84
80
8

etc

How can I stop this and make it go properly?
Link to comment
https://forums.phpfreaks.com/topic/8423-sort-ordering/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.