Jump to content

Persistent PHP Variables


Recommended Posts

I am using checkboxes to select specific criteria to use within a MySQL query string.


In my case, as long as the checkboxes do not change, I want to keep the previously selected checkbox values, and pass them on to any additional page sorting that's done after the initial checkbox selection process.


I'm already initializing my MySQL query string successfully, using these checkboxes.


But, once I have the data set that I want to work with, I need the ability to re-sort the columns, or refresh the page, based on my initial selection criteria.


But, I have not been able to get the initially selected criteria to "persist", when I sort the columns, after the select has finished.


How can I take the incoming variables, and make them persistent?


How can I take the incoming variables, and pass them to the sort process?


Thanks in advance.



Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...