Welcome Guest, Not a member yet? Register   Sign In
pagination current page not changing
#3

(09-22-2016, 03:12 AM)jaysondotp Wrote: i got link below but the data are not change,

?dir-move=public&switch=branch_reports&task=branch_report_por&per_page=1
?dir-move=public&switch=branch_reports&task=branch_report_por&per_page=2
?dir-move=public&switch=branch_reports&task=branch_report_por&per_page=3
?dir-move=public&switch=branch_reports&task=branch_report_por&per_page=4
?dir-move=public&switch=branch_reports&task=branch_report_por&per_page=5

Try using GET instead of URI Segment to get the page number.

$this->input->get('per_page', TRUE); // XSS Clean
$this->input->get('per_page', FALSE); // No XSS Filter

https://www.codeigniter.com/user_guide/l...input.html
Reply


Messages In This Thread
RE: pagination current page not changing - by whomikey - 09-30-2016, 04:05 PM



Theme © iAndrew 2016 - Forum software by © MyBB