Hello there!
Can someone please help me on this:
I have a php file which lists some records. On this list, the records
can be sorted on different columns. currently the sort column and the
direction of sorting is passed using GET values, this means the user
clicks the column name (which is a link) so the new sort column and
direction is passed to the script
<a href="main.php?page=news&sortfield=title&sortorder =asc">
now my question is, if it's possible to hide those values, so they
don't appear on the url, but sorting should work anyway. This means
that
1. when user clicks on column, the new sort order has to be set
2. page has to be reloaded, so new sort order gets displayed.
I'd like to do this using sessions, but I don't know how to update a
session value, when clicking on a link wihtout using GET values...
can someone give me a tip? like I said, the idea is to completely hide
the url GET values... Sessions are ok.
Thank you very much for your help here..
André