Open GeneralMB opened 5 years ago
hello thanks for class but i want add Views counter db->update('users',['last_id' => last_id+1])->where([['id_user','=',$id_user]])->exec();
In WHERE clause, as its written in readme, you should use only comma. where('id_user',$id_user)
Sorry for late answer.
hello thanks for class but i want add Views counter db->update('users',['last_id' => last_id+1])->where([['id_user','=',$id_user]])->exec();