Welcome Guest, Not a member yet? Register   Sign In
get_where question
#2

[eluser]Colin Williams[/eluser]
Include the != in the array key:

Code:
$this->db->get_where('posts', array('post_status !=' => 'deleted'))->result();

Double-check the docs if you are unsure.


Messages In This Thread
get_where question - by El Forum - 10-31-2008, 01:28 PM
get_where question - by El Forum - 10-31-2008, 02:10 PM
get_where question - by El Forum - 01-13-2009, 01:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB