Hi.
I am creating a system that will use both MySQL and the $_SESSION variable, and there will be data that users carry as they navigate the site, in fact, a lot of data. Some data will change a lot, some will not. I have an idea of what to throw into MySQL, and $_SESSION, but there is some data that I don't want to have crunched a lot during runtime.
Basically, this data is an array of numbers (stored as a string, with a delimiter), which has to be expanded into a select field, where the numbers have name entries in the database. I don't want these select fields to be built at runtime for each page, rather, stored as a string in the $_SESSION variable or MySQL. The string would be about 1K max in size and has to be available each page load. Any suggestions on what to use?
I am creating a system that will use both MySQL and the $_SESSION variable, and there will be data that users carry as they navigate the site, in fact, a lot of data. Some data will change a lot, some will not. I have an idea of what to throw into MySQL, and $_SESSION, but there is some data that I don't want to have crunched a lot during runtime.
Basically, this data is an array of numbers (stored as a string, with a delimiter), which has to be expanded into a select field, where the numbers have name entries in the database. I don't want these select fields to be built at runtime for each page, rather, stored as a string in the $_SESSION variable or MySQL. The string would be about 1K max in size and has to be available each page load. Any suggestions on what to use?