0
I have a PHP multiD array like array($arrayA, $arrayB, $arrayA, $arrayC, $arrayC, $arrayA...........) ho can I get a resulting array which have distinct elements from this array and sorted with the more occurance first like... array( $arrayA, $arrayB, $arrayC) because array $arrayA was 3 tumes in first array so it comes first in resulting array.
3 odpowiedzi
0
it won't work for MultiD array and also we can't get sorted array as i want
0
I made this https://code.sololearn.com/w1SI9OLd84jM/#php for you. Try it.