The report only prints what is shown in the table

1

Good I have a system with php where I select multiple checkboxes, and I have to select them to then report where it calls the value of the chekboxes. My problem is that when I search for n-clients and select them, even if all the selected ones are checked, at the time of making my report, I only pick up the ones that are shown to me on the screen.

Example:   If on the 1st page select 2 and on the 2nd page select 4.    It only collects me the data of those that are selected in the page that is displayed visually in my table and not the others that I look for and select.

Any ideas or help you can give me so that the checkboxes are saved in the 2nd plane?

    
asked by Luis Fernando 18.08.2018 в 21:38
source

1 answer

0

You must store the selected data before moving on to the selection of the second page and reloading the browser. The most practical option is to do it within the global variable $ _SESSION for which you will have to use the session_start () function to start and session_destroy () to eliminate all the saved data.

    
answered by 19.08.2018 в 08:16