Shafiq Rehman wrote:
Hello,
Why not you use the javascript to sort any column on client side.
Because that might not sort all of the data.
If you only show 20 records per page, then that will only sort those 20
records (ie the records inside that page), it won't sort the other 1,000
records by "name" or whatever other fields you specify.
If I have:
Albert
Alex
Chris
Fred
Henry
Joe
Trevor
in the list, and I show 3 per page, it would be:
Albert
Alex
Chris
and I sort descending, it would show
Chris
Alex
Albert
which isn't right, it should be
Trevor
Joe
Henry
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php