Welcome Guest, Not a member yet? Register   Sign In
uri segment problem
#2

[eluser]vrencianz[/eluser]
If you take a look to http://ellislab.com/codeigniter/user-gui...s/uri.html you'll see that segment(1) is the controller name and segment(2) is the method name.

In a normal scenario segment(2) can be empty in which case it points to the controller's index() method and segment(1) when the controller is the default one (Default or set from config).



Messages In This Thread
uri segment problem - by El Forum - 05-12-2012, 01:37 AM
uri segment problem - by El Forum - 05-12-2012, 04:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB