I am new to PHP and this problem has stumped me.
I have a situation where I have a URL like this
http://www.test.com/test.php?month=5&year=5&pn=4&ItemsPerPage=15&sort=5
Month and Year state the Date, pn = Page Number, ItemsPerPage = Items Per Page, and sort = ORDER BY.
My problem is that there are multiple spots on the page to change different variables.
A user can change the month and date through the calendar...and this wipes the rest of the variables out so the user loses their place on the page and how many items were on the page and how the page was sorted.
How do I make it to where a user can change one of the variables...but the other variables stay the same?
Any help would be greatly appreciated. Thanks in advance.