RE: [PHP] Simple table sorting
| From: | Luis Lebron | Date: | Wed, 03 Dec 2003 17:45:31 +0000 |
| Subject: | RE: [PHP] Simple table sorting | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-171695@lists.php.net to get a copy of this message | ||
You may want to also try a javascript solution
See http://www.kryogenix.org/code/browser/sorttable/
for an example.
Luis
-----Original Message-----
From: Tommi Virtanen [mailto:mailinglist@gwad.net]
Sent: Tuesday, December 02, 2003 8:30 PM
To: php-general@lists.php.net
Subject: [PHP] Simple table sorting
Hi!
I have simple table like:
name department
[data: first name] [data: dep. no]
[data: second name] [data: dep. no]
Now I have only sorting which sorts using ORDER BY name. How I
make header name / department active link, which I can change sorting
order Department and then back to Name?
regards,
gustavus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php