Forums

This topic is locked

Sorting a SQL generated table

Posted 15 Jan 2002 15:51:03
1
has voted
15 Jan 2002 15:51:03 Tim Schotz posted:
I have a search form that queries a db and displays the results in a table. I've linked the table headings on the results page to re-display the page and pass an ORDER BY variable to the SQL to resort the page. That much works fine. Except when the page resorts, I lose the variables passed from the original search form. This results in a properly sorted table but with ALL of the records in the main table.
Can anyone tell me how to hold the variables from the search?
Thanks
TS

Reply to this topic