Tuesday, October 27, 2009
You can get the array elements which are not common to both arrays.
use the following php code.
Array (  => C )
C is the item which is only common to the $ar1. Likewise array_diff returns an array of elements not common to the both arrays.
Posted by Duminda Chamara at 8:36 PM