note 37111 deleted from function.array-slice by vincent
| From: | vincent@php.net | Date: | Mon, 08 Dec 2003 14:27:45 +0000 |
| Subject: | note 37111 deleted from function.array-slice by vincent | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-61634@lists.php.net to get a copy of this message | ||
Note Submitter: roeltje.com
----
hmm, deleting just 1 value from the array, try this
<?
// Delete from $array, at postion 3, only 1 value
array_splice($array, 3, 1);
?>
Way easier / faster then the "remove_one_element" described below.
Roeltje...