Welcome Guest, Not a member yet? Register   Sign In
model in view, or passing from view strange behavior
#2

Show us what my_function() function in your object looks like.
What type of object is it? CI uses objects (classes) in controllers, models and libraries.
You load a library in a controller with $this->load->library('library_name');
To call a function in the library: $var = $this->library_name->my_function($parameter);
Reply


Messages In This Thread
RE: model in view, or passing from view strange behavior - by Wouter60 - 10-25-2019, 12:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB