note 15456 rejected from function.array by hholzgra
| From: | hholzgra@php.net | Date: | Sat, 02 Mar 2002 18:12:02 +0000 |
| Subject: | note 15456 rejected from function.array by hholzgra | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-27277@lists.php.net to get a copy of this message | ||
OK. What I wanted to do was to remove a value from an array and I found a function here doing this.
But there is a much faster way:
// Supplied arguments:
// ------------------
// removevalue is the value you want to remove.
// array is the array you want it to be removed from.
unset ($array['removevalue']);
Greetings,
Tom