我在codeigniter中有这样的代码
foreach ($where as $k=>$v){
foreach ($v as $val){
$this->db->or_where($k, $val);
}
}
但是,我想要'或组'喜欢
select * from table where id = '1' and (category = 'tekno' OR category ='biologi');
有任何想法吗?