count # logins |
Trying to have a track of how many times a user logges in. And there is a function in mysql increase a db value by a number.
But how do i achieve this with use of codeigniter model? Have tried: PHP Code: $newdata = [ Logins set as INT(11) in Mysql Bengt
first, dont forget to check $allowedFields in your model.
then, u can do this : Code: $model->where('bruker_id', $bruker['bruker_id']) |
Welcome Guest, Not a member yet? Register Sign In |