Help with a models and controller...

#2
[eluser]apodner[/eluser]
http://example.org/segment1/segment2/segment3

Code:
$value = $this->uri->segment(2);
$this->load->model('Mymodel');
$returnValue = $this->Mymodel->someFunction($value);


Messages In This Thread
Help with a models and controller... - by El Forum - 12-09-2012, 12:08 PM
Help with a models and controller... - by El Forum - 12-09-2012, 12:23 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.