Jump to content

Array compare question


dhimok

Recommended Posts

Hi Everyone!

 

I have two arrays in chunks and I want to compare them. If I find chunks from first array that match chunks from the other one then I want to exclude them. Anyone can give me a start idea? Here are the two arrays in chunks:

 


Array
(
    [0] => Array
        (
            [4] => 1
        )

    [1] => Array
        (
            [3] => 1
        )

)



Array
(
    [0] => Array
        (
            [4] => 1
        )

    [1] => Array
        (
            [3] => 1
        )

    [2] => Array
        (
            [1] => 1
        )

)


 

Thanks in advance!

Link to comment
https://forums.phpfreaks.com/topic/124829-array-compare-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.