Welcome Guest, Not a member yet? Register   Sign In
Pagination with $_GET => double page variables
#2

[eluser]ballmatic[/eluser]
I had the same problem as you. After some digging around on PHP.net, I came across the following which works wonders:

Code:
http_build_query( Array( 'offset' => null ) + $this->input->get(NULL, TRUE) )

Basically, you use the first Array to NULL out any values you want. You used the variable "offset", so I used that in this example.


Messages In This Thread
Pagination with $_GET => double page variables - by El Forum - 12-15-2011, 02:52 PM
Pagination with $_GET => double page variables - by El Forum - 02-28-2012, 04:42 PM



Theme © iAndrew 2016 - Forum software by © MyBB