Re: [PHP] if foreach

2002-05-29 Thread Nick Wilson
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 * and then Laurent Drouet declared > if > foreach ($conditions as $key=>$val) > > ($val==$summary["$key"]) >{ > statements to execute if the condition is right for all > $conditions >

[PHP] if foreach

2002-05-29 Thread Laurent Drouet
Hi ! I would like to know if somebody already done the following thing : I'm writing a function which accept 2 args : $conditions and $summary in my function I have to construct an if statement with these arg like : if foreach ($conditions as $key=>$val) ($val==$summary["$key"])