SyntaxFix
Write A Post
Hire A Developer
Questions
You may try this one
$this->db->where('field1',$filed1); $this->db->where('filed2',$filed2); $result = $this->db->get('table_name')->num_rows();