I want to copy a complete array (arr_temp) into another one (arr_container). But certain elements should be excluded which are in a third array (arr_inventory).
arr_temp:
550,Category1
552,Category1
552,Category1
550,Category2
552,Category1
552,Category2
arr_inventory:
550,Category2
552,Category1
All elements that has the EXACT Number AND Category should copy into the arr_container (550,Category2 and 552,Category1).
but not 550,Category1 or 552,Category2.
Hope you can understand what I mean.
So far, I've only been able to compare one Y of them. How do i compare all Y. I think I miss something there.