RE: [PHP] Sum two arrays

From: Date: Sat, 12 Apr 2003 09:32:48 +0000
Subject: RE: [PHP] Sum two arrays
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-143603@lists.php.net to get a copy of this message
is that a question or an answer ? -----Original Message----- From: Larry_Li@amat.com [mailto:Larry_Li@amat.com] Sent: Saturday, April 12, 2003 6:28 PM To: php-general@lists.php.net Subject: [PHP] Sum two arrays $a=array("01"=>10,"02"=>20,"04"=>40); $b=array("01"=>10,"03"=>30,"05"=>50); $c=$a+$b; $c=array("01"=>20,"02"=>20,"03"=>30,"04"=>40,"05"=>50); Thanks, Larry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#143603) next »