I have a User model.
I have a variable($keyword) to be passed on the db, it will compare itself to all the username listed.
Then, it will return the username’s password. (This is just a dummy test. I will not really send the password in my system)
$model = User::model();
$user = $model->find(array(
'condition'=> $keyword = ':username', 'params'=>array(':username' => $keyword) ));
//Helped coded from XTIAN
So, how do i retrieve the pass?