-----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 > } > > How can i do it ? if($conditions) { foreach($conditions as $key => $val) { do_stuff(); } } else print("the array is empty"); - -- Nick Wilson // www.explodingnet.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) iD8DBQE89KnTHpvrrTa6L5oRAs10AJ9MT0btFuEhFYjPs4O+CnO7rK+cVgCfdOV1 bzDoelf7PGD0/Q8v3RqetI4= =jtsm -----END PGP SIGNATURE----- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php