Creating a model for the login |
you can use like this example in Model file.
PHP Code: public function login($table,$email,$pass) and u must change to application/config/autoload.php $autoload['libraries'] = array('session','database'); like that. and make a sure true Config/database.php connect is right and you must create controller like this PHP Code: public function login() i think its gonna be help to u. |
Messages In This Thread |
Creating a model for the login - by mimingko - 12-03-2017, 04:58 AM
RE: Creating a model for the login - by Redwoodcutter - 12-10-2017, 05:04 AM
|