Celling class model and function model |
I am having problems when calling the function model to the controller, please help me
thank you. chau
09-08-2019, 08:26 AM
(This post was last modified: 09-08-2019, 08:33 AM by InsiteFX. Edit Reason: Added Example )
So what problems are you having? That tell's nothing about your problem.
It would be something like this: PHP Code: // Loading a model in the Controller. If that is what you are looking for. What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
(09-08-2019, 08:26 AM)InsiteFX Wrote: So what problems are you having? That tell's nothing about your problem. do not forget to add the model at the beginning of the controller: PHP Code: use App\Models\UsersModel; |
Welcome Guest, Not a member yet? Register Sign In |