php codeigniter if condition inside array code example
Example: where condition in array in codeigniter
$multiClause = array('id' => $ids, 'name' => $name, 'status' => 1 );
$this->db->where($multiClause);
$multiClause = array('id' => $ids, 'name' => $name, 'status' => 1 );
$this->db->where($multiClause);