note 19822 deleted from function.array-push by didou

From: Date: Tue, 29 Jul 2003 11:58:04 +0000
Subject: note 19822 deleted from function.array-push by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-52910@lists.php.net to get a copy of this message
Note Submitter: alexg@syspro.co.za ---- Here`s a shorter way of adding "key=>value" values $myarray = array( "mykey"=>"myvalue" ); $myarray = array_merge( $myarray,array( "mykey2" => "myvalue2" ));

« previous php.notes (#52910) next »