Welcome Guest, Not a member yet? Register   Sign In
where() and like() are not working together
#1

[eluser]Nartub[/eluser]
Hello.

I'm trying to make a query which goes:

Code:
$this->db->where('column1','match1');
$this->db->like('column2','match2');

and when I get() it, the where clause is not working.

Could it be because the like() is adding another WHERE?

Thanks in advance.


Messages In This Thread
where() and like() are not working together - by El Forum - 03-22-2012, 05:40 PM
where() and like() are not working together - by El Forum - 03-22-2012, 06:56 PM
where() and like() are not working together - by El Forum - 03-22-2012, 07:50 PM
where() and like() are not working together - by El Forum - 03-22-2012, 07:52 PM
where() and like() are not working together - by El Forum - 03-22-2012, 07:53 PM



Theme © iAndrew 2016 - Forum software by © MyBB