Welcome Guest, Not a member yet? Register   Sign In
CI pass array to model where clause
#9

(This post was last modified: 09-17-2018, 12:34 PM by InsiteFX.)

Try this and see if it is what you want.

PHP Code:
$where "Keyword = 'business' OR Keyword = 'permanent'";
$this->db->where($where); 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
RE: CI pass array to model where clause - by InsiteFX - 09-17-2018, 12:32 PM



Theme © iAndrew 2016 - Forum software by © MyBB