PHP, dizi kavramına

0 Cevap

I have two arrays...I want to find the common element in the array.I want to find the unique values in array1 and unique values in array2.... Example:

Array1:"red,blue,green,violet"

Array2:"yellow,orange,violet,blue

Şimdi i retrive nasıl bilmek istiyorum

uniq_Arr1=>red,green

uniq_Arr2=>yellow,orange

common_Arr=>violet,blue

That is,From each array it sholud retrive the unique elements and the common elements... Please guide me to know this...

0 Cevap