I am trying to find the best method for displaying data in a paging table that uses POST to retrieve appropriate data. The problem is when the POST value Inactive executes and then I navigate to the second page of the data displays the Active data instead. I believe this is cause by the default data being Active and the code is not tracking the previous search. I can’t seem to find the correct method to solve this. Do I have to use some AJAX or jQuery to track the previous POST value?
Thanks
$config['suffix'] = '?'.http_build_query($_GET, '', "&");I changed my
POSTtoGETthen I add the line above and I worked perfectly.Reference: codeigniter pagination url with get parameters
Thanks