Welcome Guest, Not a member yet? Register   Sign In
where_not_in (Solved)
#1

[eluser]Maglok[/eluser]
Lets say I have a array of objects that I got by using the active record class.
I have a second array of objects.

Is there anyway that I can substract one from the other? (Array1 - array2)

Example: I can easily get all open events and all the events someone signed up for. I want to also list those a person did not sign up for (yet) though.

Kind of hard to explain really. I cannot phantom a query that would let me select just the ones a person did not sign up for (since the database only records those that he DID sign up for).


Messages In This Thread
where_not_in (Solved) - by El Forum - 08-17-2009, 06:02 AM
where_not_in (Solved) - by El Forum - 08-17-2009, 06:08 AM
where_not_in (Solved) - by El Forum - 08-17-2009, 06:10 AM
where_not_in (Solved) - by El Forum - 08-17-2009, 06:38 AM
where_not_in (Solved) - by El Forum - 08-17-2009, 07:34 AM
where_not_in (Solved) - by El Forum - 08-17-2009, 08:08 AM
where_not_in (Solved) - by El Forum - 08-17-2009, 08:35 AM
where_not_in (Solved) - by El Forum - 08-20-2009, 06:26 AM
where_not_in (Solved) - by El Forum - 08-21-2009, 02:16 AM
where_not_in (Solved) - by El Forum - 08-21-2009, 03:04 AM
where_not_in (Solved) - by El Forum - 08-21-2009, 05:04 AM
where_not_in (Solved) - by El Forum - 08-21-2009, 05:08 AM
where_not_in (Solved) - by El Forum - 08-21-2009, 05:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB