Print all pages generated by PHP and MYSQL

0

Hello, I am making an extract in which you can generate several pages, I used a very simple paging system using limit in the querys of mysql . >

The problem is that several pages are generated and at the time of printing it only printed one at a time (which is correct since they are different pages), but would you have some way to print all those pages? Since I generate an "expected" url like: page = 1, page = 2, page = 3 and so on, would I be able to print all generated pages? Because I have a $var that contains the number of pages generated by the query. Was there any solution to this? Or do I have to rethink this paging system?

    
asked by anonymous 21.03.2018 / 12:49

1 answer

1

Problem solved with the DataTables plugin, which in my case fell well since it has several functions and one of them is to do the Client Side pagination, so I can generate all the results at once, as well as print them. If someone experiences the same problem here is the link: Data tables

I had to reshape my system a bit to get it to work, however it is very simple to use and configure, as well as implement even more functions.

    
22.03.2018 / 13:54