matching sub arrays on array and count them

temporal

New Member
i am having an array\[code\] Array( [1] => Array ( [0] => 1 [1] => 3 ) [2] => Array ( [0] => 1 [1] => 2 ) [3] => Array ( [0] => 1 [1] => 3 ))\[/code\]and i need to find the common subarraysIn the above example array 1 and 3 have the common sub array\[code\]( [0] => 1 [1] => 3)\[/code\]So the final array must be \[code\] Array( [1] => Array ( [0] => 1 [1] => 3 ) [2] => Array ( [0] => 1 [1] => 2 ))\[/code\]But i need to count the common values some how.Any suggestion.
 
Back
Top