Hi I am having an array like this...
array(
array(
1, 3
),
array(
4, 6, 8
),
array(
2, 3, 5, 1
)
)
Now i want to compare first element with all the element in the second row.means I want to compare 1 with 4,6 and 8.Then with 3rd row elements like 1 with 2,3,5 and 1.Likewise i want to compare
1 is exist totally two times in the given array....So the variable count1=2....likewise 3 is exist 2 times so count2=2...8 is exist only one time so count8=1....like this...
Kindly help me to solve this.Thanks in advance.