I have page that display information from two different tables , and for that I have two queries. There is no related info between these two tables. Since both queries may contain a lot of information, I need create pagination. BUT I don't want two separate paginations, I want only one that will contain results from query 1 and query 2 together.
How can I do that?
The only idea I have is to fetch all info of both queries into arrays, then combine the arrays into one, then create pagination that based on that array. That of course would not help save resources.