To cut a long story short: Is it possible and if it is - how can I build a query that looks somewhat like this one
SELECT * FROM a WHERE row = 1 AND
$sql= "SELECT * FROM `a` WHERE row = '1' AND (other_row LIKE '%" . $value . "%' OR another_row LIKE '%" . $value . "%')"; $this->db->query($sql);