At 05:53 PM 12/14/2001 +1100, Vincent Ma wrote:
>Hi everyone:
>
>   I would like to know how to specific item in array.  For the add new item
>to array, we know just :
>
>    $array += array("$key" => "$value");
>
>How to remove specific item in array???

unset(array["specific_item_index"]);

...has always worked for me.


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to