Array question
| From: | nikos | Date: | Fri, 08 Nov 2002 09:25:39 +0000 |
| Subject: | Array question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-23130@lists.php.net to get a copy of this message | ||
Does anybody know how to remove an item from an array?
Let's say
$array('banna', 'apple','cherry')
foreach ($array as $value) {
if ($value=='chery') DELETE $value FROM $array
...
Thanks