note 29278 added to function.array-push
| From: | www dot mkland dot net at rack1 dot php dot net | Date: | Sat, 08 Feb 2003 08:09:39 +0000 |
| Subject: | note 29278 added to function.array-push | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-43597@lists.php.net to get a copy of this message | ||
$myarray = array();
$myarray["newKey1"] = "newData1";
$myarray["newKey2"] = "newData2";
print_r($myarray);
result:
Array ( [newKey1] => newData1 [newKey2] => newData2 )
--
http://www.php.net/manual/en/function.array-push.php
http://master.php.net/manage/user-notes.php?action=edit+29278
http://master.php.net/manage/user-notes.php?action=delete+29278
http://master.php.net/manage/user-notes.php?action=reject+29278