Model basic CRUD methods and other queries on other tables using $this->db->table() |
There is no data to update" means the model thinks there is no data to update.
If you read the stacktrace and the model code, you can find why there is no data.
(02-22-2023, 05:16 AM)kenjis Wrote: There is no data to update" means the model thinks there is no data to update.I have to transform this PHP Code: $this->where('id', (int)$id_sottoevento) in this PHP Code: $this->save( so it works If instead I want to use update() and not save() PHP Code: $this->update( I haven't tested this but it should work But I still don't understand why the first version doesn't work, it will be my limitation |
Welcome Guest, Not a member yet? Register Sign In |