This is more of a inquiry on how would one go about this.
What I currently have is a page that displays the users that are registered for my web site. Currently I am querying the db, sorting the entires by the signup date and displaying them that way on the page. So, image I have Name, Address, City, Reg Date, etc. and underneath on a seperate row has the results; John Doe, 123 Main St., Somewhere, Feb. 25 , 2006 . blah blah - you get the idea.
I would like to take this one step further and have it where I could click on any of values on the top row such as the "Name" or "City" and have my displayed results reorder themselves on the same page. How would I do this? The easy way out for me, I would think (and correct me if I am wrong), is to just create indivual pages where I query the db and order the results by their respectful fieldsm, then do my loop through the results. I can post the code that I am using if this is helpful. Thanks.