Re: Arrays

From: Date: Fri, 11 Apr 2003 17:36:32 +0000
Subject: Re: Arrays
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-19393@lists.php.net to get a copy of this message
check array_diff($array1, $array2) or array_intersect($array1, $array2) Afan At 02:32 PM 4/11/2003 -0400, Trystano@aol.com wrote:
Hi, all, I have two arrays with each containg various times i.e.. array1 = array( "10:00", "10:30", "11:00", "11:30", "12:00", "12:30", "13:00"); array2 = array( "10:00", "10:30"); What I want to do is to get a third array from these 2 arrays contain only the values that isn't in both arrays. So the third array will look like.. array3 = ("11:00", "11:30", "12:00", "12:30", "13:00"); Is there a PHP function that can do this for me??? Cheers in advance Tryst -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.windows (#19393) next »