Re: sytax to remove specifc item in string-indexed array???
| From: | Michael Sims | Date: | Sun, 16 Dec 2001 15:16:49 +0000 |
| Subject: | Re: sytax to remove specifc item in string-indexed array??? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-77866@lists.php.net to get a copy of this message | ||
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.