1 14:03
> To: Tim Ward; 'Jimmy Bäckström'; PHP General List
> Subject: RE: [PHP] RE: Function to compare an array with another array
>
>
> Hi,
> I am trying to use the Function ArrayCompare, but it always
> has an error in
> "if(($key = array_search($element, $
ot;, "yellow", "red");
$result = array_diff ($array1, $array2);
This makes $result have array ("blue");
-Original Message-
From: Fang Li [mailto:[EMAIL PROTECTED]]
Sent: 15 March 2001 14:03
To: Tim Ward; 'Jimmy Bäckström'; PHP General List
Hi,
I am trying to use the Function ArrayCompare, but it always has an error in
"if(($key = array_search($element, $array2)) == false)", and also I couldn't
get the page of http://www.stivesdirect.com/e-mail-disclaimer.html
Would you please give me a clue? Thanks!
Fang
-Original Message-
3 matches
Mail list logo