note 10100 added to array_push
| From: | viejay at viejay dot de | Date: | Wed, 13 Dec 2000 16:21:49 +0000 |
| Subject: | note 10100 added to array_push | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8702@lists.php.net to get a copy of this message | ||
i waste a lot of time finding a function to create my own key/value-array, play with push and it is
so stupid...
if you want to build a key/value-array - simply
$kv_array = array();
$kv_array[<value of your key>]= <your value>;
http://www.php.net/manual/function.array-push.php