On 6/9/06, Jesús Alain Rodríguez Santos <wmaster@xxxxxxxxxxxxxxxx> wrote:
if I have two arrays, example: $a = array ("one", "two", "three", "four", "two"); $b = array ("seven", "one", "three", "six", "five"); How can I get in another variable a new array with the same elements into $a and $b.
php.net/array_intersect will get you the common elements. Rabin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php