Codeigniter model with multiple update conditions using manual where statement
As per document in CodeIgniter Where, you have to mention here with OR
or AND
"id=$id, name='Joe'
.
$where = "id=$id AND/OR name='Joe' AND status='boss'"; ^^^^ Chose one
Or use array