Next MySQL/PHP problem

Permabanned
Joined
19 Apr 2006
Posts
2,333
Location
West Yorkshire
ok here's what I wanna do but cant get my head round it.

I have a table with [ Name | Squad ] as the headers, then it list the people from a mysql db below.

What I want is so that the table headers are clickable and it sorts ascending by that field and if clicked again it sorts descending etc.

I just cant wrap my head round how to do it, I could do it with multiple pages one for each thing, but that isnt really what I want :/
 
Back
Top Bottom