![]() |
Call to a member function login_model() - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Model-View-Controller (https://forum.codeigniter.com/forumdisplay.php?fid=10) +--- Thread: Call to a member function login_model() (/showthread.php?tid=76132) |
Call to a member function login_model() - soljon - 04-15-2020 I'm new in CI. Can someone help me with this error? //START OF ERROR Code: A PHP Error was encountered //CODE PHP Code: public function check_login(){ //CODE for crud_model->login_model PHP Code: function login_model($email, $password){ RE: Call to a member function login_model() - php_rocs - 04-15-2020 @soljon, I'm assuming that you are using CI3. Assuming that this is the case did you load the model crud_model into the class where the check_login function is located? Can we see the beginning of the class code where the check_login function is located? |