I have profile page view where user can change the current password. By using findBySql & current session I checked whether the current password is correct. But I don't know how to update the records in the model in yii framework.
I have profile page view where user can change the current password. By using findBySql & current session I checked whether the current password is correct. But I don't know how to update the records in the model in yii framework.