Re: RE: [PHP-WIN] Dynamic HTML table sort with PHP

From: Date: Mon, 10 Jul 2006 05:22:13 +0000
Subject: Re: RE: [PHP-WIN] Dynamic HTML table sort with PHP
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-239233@lists.php.net to get a copy of this message
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/

« previous php.general (#239233) next »