Re: Array question
| From: | CPT John W. Holmes | Date: | Tue, 25 Nov 2003 21:49:51 +0000 |
| Subject: | Re: Array question | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-31757@lists.php.net to get a copy of this message | ||
From: "ShortStay" <john@shortstay-london.com>
> How do you delete a value and key from an array? I know the value.
You need to know the key.
unset($Array[$key]);
There are various array functions that'll find the key for you if you know
the value.
> Is it OK to post array questions to the db list?
Not really... use php-general
---John Holmes...