hi leon,
>
> Hello,
>
> Assume I have the following array:
>
> $array = array (
> "apple" => "cherry",
> "foo" => "bar",
> "wom" => "bat"
> );
>
> How could I easy remove the key and the value of the key
> "foo" from that
> array?
>
unset ($array[foo]);
> Also, what is the best (and quickest) way to add a key with a
> value to the
> end of this array?
>
$array[newkey]=newvalue;
> Thanks in advance,
>
> Leon Mergen
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php