Welcome Guest, Not a member yet? Register   Sign In
Controller routing question
#2

[eluser]Matrices[/eluser]
You can use your uri segments to pass information not only to a controller, but to a view file as well (or any file for that matter).

By calling the uri class, you can grab a variable stored in your url instead of doing something else like passing it through a form. I'm not quite sure what your question is, but I hope this clears up why CI doesn't throw an error when you don't assign a uri segment to be passed through a controller function.

For more info on uri segments go here.


Messages In This Thread
Controller routing question - by El Forum - 10-13-2008, 05:35 PM
Controller routing question - by El Forum - 10-13-2008, 06:00 PM
Controller routing question - by El Forum - 10-13-2008, 06:04 PM
Controller routing question - by El Forum - 10-13-2008, 06:09 PM
Controller routing question - by El Forum - 10-13-2008, 06:11 PM
Controller routing question - by El Forum - 10-13-2008, 06:24 PM



Theme © iAndrew 2016 - Forum software by © MyBB