Re: Re: Comparing arrays confusion

From: Date: Mon, 26 Apr 2004 19:38:17 +0000
Subject: Re: Re: Comparing arrays confusion
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184692@lists.php.net to get a copy of this message
"Alex Hogan" <Alex.Hogan@AlliedElec.com> wrote in message news:F63DEC4D37ACD41183C700508B95574F0F88D1D5@exchsrvr.alliedelec.com... > > The relationship is dependant on the array keys, right? Then just put > > $intersectDiff in the foreach loop instead of $intersect. > > I'm still confused. > Won't that only return one value; > > Connectors 1.29 > > Instead of all five subclasses with the intersection having a value other > than 0. > > alex hogan Hi Alex, take a look at array_combine(): http://de.php.net/manual/en/function.array-combine.php Try to combine intersect diff and percentages. Regards, Torsten

« previous php.general (#184692) next »