"Daniel Perez Clavero" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Angelo, > Given array1 extract array2 from there, and put it into $array_result. > > $array2[0]="Value to extract"; > $array_result = array_diff ($array1, $array2); > > Should work. > Rgrds.
Well this only returns the differences between $array1 and $array2. But it doesn't touch/change the arrays themselves. -- Dennis Sterzenbach www.darknoise.de -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php