Welcome Guest, Not a member yet? Register   Sign In
$this->uri->segment(#) not working
#4

[eluser]vitoco[/eluser]
USERNAME is the 3rd or the 2nd segment, cause the structure is /controller/method/param1/.../paramN , so when you call /people/USERNAME , you're assuming that there is a method or function called USERNAME.

The "correct" way to call can be /people/profile/USERNAME or /people/data/USERNAME.


Messages In This Thread
$this->uri->segment(#) not working - by El Forum - 01-22-2010, 07:29 PM
$this->uri->segment(#) not working - by El Forum - 01-22-2010, 08:06 PM
$this->uri->segment(#) not working - by El Forum - 01-22-2010, 08:30 PM
$this->uri->segment(#) not working - by El Forum - 01-22-2010, 09:35 PM



Theme © iAndrew 2016 - Forum software by © MyBB