Situation: I run a search (query) on a MySQL database, searching by first name, last name, or state. I then display the results in a table. I want the headers of the fields in the displayed table to be links that will sort the returned data.
Code available at:
http://www.illushinz.com/query.txt (page actually named list.php)
I am trying to figure out how to pass the query string to the same page (list.php) when one of the links is clicked for sorting. Right now I can click the link, but it returns hits from the whole database, I only want to sort/see the data I searched for.
I really hope this is not too confusing, I wouldn't exactly call myself a code guru, in fact, I'm more like clueless.... :-(
Thank you all very much for any and all help.
Mike