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

[eluser]jedd[/eluser]
Did you try using array_diff()?

I'm assuming that Array2 is, always, a superset of Array1 in this instance?

Array messing usually provides much scope for confusion - I always end up writing a test function with a fair bit of data to confirm it's really doing what it's promising to do. Not sure if the arrays need to be sorted prior to hand-over to array_diff(), or if it does an exhaustive loop-within-a-loop (I'd imagine the latter).


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