I am attempting to build a query using code igniter's active records class that looks like this:
SELECT * from contacts where account = 1 and (fname like 'k%' or lname like 'k%')
however I am not sure how to use the functions to do this.
and ideas?