Jeff wrote:

   $query = "SELECT kwo, lsd, date, event FROM $gradient_tablename
                                  $order_by_str $sort_order_str $limit_str";

So what column is not sorting correctly? Is the column a INTEGER-type column or a CHARACTER-type column...


Again:
"55" > "14000"
55 < 14000

--
---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

PHP|Architect: A magazine for PHP Professionals – www.phparch.com





--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to