Welcome Guest, Not a member yet? Register   Sign In
Passing URI segments to my functions
#3

[eluser]keld[/eluser]
You don't need to use $route to do that, you can just do it from your controller like:
[code]
$getvar=$this->uri->segment(3);
$this->load->view('mypage', $getvar);
[code]

And now you can access it from your view.


Messages In This Thread
Passing URI segments to my functions - by El Forum - 01-05-2010, 04:48 AM
Passing URI segments to my functions - by El Forum - 01-06-2010, 11:09 AM
Passing URI segments to my functions - by El Forum - 01-06-2010, 06:46 PM



Theme © iAndrew 2016 - Forum software by © MyBB