Re: Re: Comparing arrays confusion

From: Date: Mon, 26 Apr 2004 15:52:30 +0000
Subject: Re: Re: Comparing arrays confusion
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184669@lists.php.net to get a copy of this message
"Alex Hogan" <Alex.Hogan@AlliedElec.com> wrote in message news:F63DEC4D37ACD41183C700508B95574F0F88D1D4@exchsrvr.alliedelec.com... > [snip] > > I hope I understand your problem correctly. Is this what you're looking > > for?: > > > > $intersectCombined = array(); > [/snip] > > No, I have that part. What I want to do is have the intersection of the > class and subclass arrays display the value from the percentage array. > So in this case I would display; > > Classes % > Passive Component 0 > Optoelectronic 0 > Connectors 1.29 > Boards/Printed Circuit Board (PCB) 0 > Thermal Management 0 The relationship is dependant on the array keys, right? Then just put $intersectDiff in the foreach loop instead of $intersect. Regards, Torsten > > > > > alex hogan > > > ****************************************************************** > The contents of this e-mail and any files transmitted with it are > confidential and intended solely for the use of the individual or > entity to whom it is addressed. The views stated herein do not > necessarily represent the view of the company. If you are not the > intended recipient of this e-mail you may not copy, forward, > disclose, or otherwise use it or any part of it in any form > whatsoever. If you have received this e-mail in error please > e-mail the sender. > ****************************************************************** > > >

« previous php.general (#184669) next »