I want to combine AND OR mysql queries in CI. I have already seen this thread: http://codeigniter.com/forums/viewthread/92818/. But they don\'t provide the exact solution th
Try using Query grouping
Query grouping
Link for it
http://www.codeigniter.com/userguide3/database/query_builder.html#query-grouping