Question: 2 where clause in codeigniter?
Answer: Codeigniter provide set class function for each mysql function like where clause, join etc. So same for where clause, they provide "$this->db->where($array);", so we can use easily. In this tutorial, you can see two way to add multiple where condition in your codeigniter application.