I have two arrays of assoc arrays:
first one:
Array
(
[0] => Array
(
[24] => s
[23] => czarny
)
[1] => Array
(
[24] => m
[23] => czarny
)
[2] => Array
(
[24] => l
[23] => czarny
)
)
and second:
Array
(
[0] => Array
(
[24] => l
[23] => czarny
)
[1] => Array
(
[23] => czarny
[24] => m
)
)
in output I would like to get:
Array
(
[24] => s
[23] => czarny
)
because two of arrays:
[0] => Array
(
[23] => czarny
[24] => m
)
and
[0] => Array
(
[24] => m
[23] => czarny
)
are the same for me. Does anyone have idea how to deal with that? I tried to do this which fourth nested foreach but I got confused..