Enligt dokument i CodeIgniter Var , måste du nämna här med OR eller AND "id=$id, name='Joe' .
$where = "id=$id AND/OR name='Joe' AND status='boss'";
^^^^
Chose one
Eller använd array
Enligt dokument i CodeIgniter Var , måste du nämna här med OR eller AND "id=$id, name='Joe' .
$where = "id=$id AND/OR name='Joe' AND status='boss'";
^^^^
Chose one
Eller använd array