How do I get the current page of a dataTable?

-1

How to save a php variable to the current page of a table using the dataTable plugin? For example: if I am on page two the variable should receive 2, if it is on page 3 the variable should receive 3 and so on.

    
asked by anonymous 26.07.2017 / 18:52

1 answer

-1

There is a method called Page in DataTable that returns an integer with the value of the current page, I'm not sure how you are applying it so you can not specify its applicability in code, but I think this link below will help you.

Link page datatables

Any questions are available.

    
26.07.2017 / 19:17