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:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 8:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Simple table sorting
On Tue, 2003-12-02 at 21:30, Tommi Virtanen wrote:
> 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 / depa
Hi!
I have simple table like:
namedepartment
[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 an
3 matches
Mail list logo