Welcome Guest, Not a member yet? Register   Sign In
Query Strings are a total turn off to CodeIgniter
#2

[eluser]MCrittenden[/eluser]
I believe you're getting a 404 because if there is anything after the controller name in the query string (in your case, the thing after is "variable") it assumes it's a function of that controller. So it's looking for a function named variable and freaking out because there's not one.

Read the URL section of the user guide for more info: http://ellislab.com/codeigniter/user-gui.../urls.html

Try linking to http://domain.com/page/index/variable instead, and change your uri call from "segment(2)" to "segment(3)". That should do it.


Messages In This Thread
Query Strings are a total turn off to CodeIgniter - by El Forum - 05-27-2008, 08:44 AM
Query Strings are a total turn off to CodeIgniter - by El Forum - 05-27-2008, 09:09 AM
Query Strings are a total turn off to CodeIgniter - by El Forum - 05-27-2008, 09:14 AM
Query Strings are a total turn off to CodeIgniter - by El Forum - 05-27-2008, 09:16 AM
Query Strings are a total turn off to CodeIgniter - by El Forum - 05-27-2008, 09:18 AM
Query Strings are a total turn off to CodeIgniter - by El Forum - 05-27-2008, 09:25 AM
Query Strings are a total turn off to CodeIgniter - by El Forum - 05-27-2008, 09:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB