How can Check the Value of the two array with different values,size in php
<p>I need a Help, i try to check the array value to another array value.The two array size many be different all the time.because the array get from the data base.
Example</p>

<pre><code>array A     array B    Result
  1          1,2,3      true
  1            2,3      false
  1            2        false
  1,2          2,3      false
  1,2,3        1        false
  2,3         2,3       true
  1,2,3       1,2,3     true

$arrayA=array(1,2);
$arrayB=array(1);
</code></pre>

<p>the array value same time different </p>

<pre><code> $arrayA=array(1);
 $arrayB=array(1,2,3); 
</code></pre>

<p>The array hole value in the second array then only return true. I need to check the all the value of array a to next array b. please help me.thank adv....</p>
