In PHP,array concept
<p>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:</p>

<pre><code>Array1:"red,blue,green,violet"

Array2:"yellow,orange,violet,blue
</code></pre>

<p>Now i want to know how will i retrive</p>

<pre><code>uniq_Arr1=&gt;red,green

uniq_Arr2=&gt;yellow,orange

common_Arr=&gt;violet,blue
</code></pre>

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