Welcome Guest, Not a member yet? Register   Sign In
Pagination on a search page
#13

[eluser]barbazul[/eluser]
you need to use url encoded string when you work with get also.
It's just that CI goes one step further and also adds some validation to avoid weird characters.... you can disable that validation altoghether and what you get is a url with whatever you want in it.. and it's compatible with the rest of the framework (that is you automatically write urls using your helpers and libraries, etc) so, again, I don't see any advantage on using $_GET

I do see an advantage when you want to add some solution programmed by an "outsider" to CI which originally worked with $_GET params nad you want to avoid rewriting the code to adapt to CI style


Messages In This Thread
Pagination on a search page - by El Forum - 08-24-2007, 12:21 PM
Pagination on a search page - by El Forum - 08-25-2007, 01:29 PM
Pagination on a search page - by El Forum - 09-10-2007, 12:36 PM
Pagination on a search page - by El Forum - 09-10-2007, 04:46 PM
Pagination on a search page - by El Forum - 04-17-2008, 04:18 PM
Pagination on a search page - by El Forum - 04-17-2008, 05:34 PM
Pagination on a search page - by El Forum - 04-17-2008, 05:37 PM
Pagination on a search page - by El Forum - 04-18-2008, 02:20 AM
Pagination on a search page - by El Forum - 04-18-2008, 10:51 AM
Pagination on a search page - by El Forum - 04-18-2008, 02:09 PM
Pagination on a search page - by El Forum - 04-19-2008, 04:08 PM
Pagination on a search page - by El Forum - 04-19-2008, 08:36 PM
Pagination on a search page - by El Forum - 04-20-2008, 01:48 PM
Pagination on a search page - by El Forum - 06-07-2011, 08:53 PM
Pagination on a search page - by El Forum - 06-09-2011, 01:35 AM
Pagination on a search page - by El Forum - 06-10-2011, 04:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB