SyntaxFix
Write A Post
Hire A Developer
Questions
You can use this :
$this->db->select('*'); $this->db->from('mytable'); $this->db->where(name,'Joe'); $bind = array('boss', 'active'); $this->db->where_in('status', $bind);