Jump to content

[SOLVED] not in right order


brem13

Recommended Posts

hey, im trying to sort data from a table in desc order, but the results will show like this

 

8

7

5

2

11

1

1

1

 

here is the code i use

$result = mysql_db_query('rant_brem', "select * from `all` WHERE approved = 'Yes' AND yes > 0 ORDER BY yes DESC LIMIT 250") or die (mysql_error());

any reason why?

 

Link to comment
https://forums.phpfreaks.com/topic/160859-solved-not-in-right-order/
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.