I have a php page that outputs a list sorted by a field in ascending order. In order to sort the output in descending order, I have a link to an identical page with DESC added to the end of the query. I would like to do this with a single page. How can I add a link to the page that would reload the page with a different query.
Any help will be greatly appreciated.
Red Flag Submitted
Thank you for helping keep Tek-Tips Forums free from inappropriate posts. The Tek-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Tek-Tips forums is a member-only feature.