Welcome Guest, Not a member yet? Register   Sign In
"where_not_in" -- Am I an idiot?
#1

[eluser]Daniel Walton[/eluser]
Hi, i'm using the active record class as such:

Code:
$this->db->where_not_in('id', $id);

...

Code:
$this->db->get('the_table');

Which should be excluding that particular ID from the result, right? Wrong - all ids are coming back Sad What could be wrong?


Messages In This Thread
"where_not_in" -- Am I an idiot? - by El Forum - 10-02-2008, 05:37 AM
"where_not_in" -- Am I an idiot? - by El Forum - 10-02-2008, 05:39 AM
"where_not_in" -- Am I an idiot? - by El Forum - 10-02-2008, 05:43 AM
"where_not_in" -- Am I an idiot? - by El Forum - 10-02-2008, 05:43 AM
"where_not_in" -- Am I an idiot? - by El Forum - 10-02-2008, 05:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB