Is there a way to safely transfer a mysql query from one page to another?
Basically, I have a list of items that are generated by mysql query and are limited to only 5 items. I want to add a “more” link at the bottom, which will lead the user to a page that will display the same list, but does not have a limit of 5 elements. Usually I passed a set of parameters to the “more” page, which I could use to recreate the request, but due to the fact that the list can be generated by a large number and variety of requests, it is very difficult.
So they are wondering if there is a way to safely and easily transfer the entire mysql query from one php page to another. For example, is there a way to do this when you click the link, the request is stored in some data files with the identifier assigned to it, and then you just need to transfer the identifier to the next page.
source share