Re: remove a key from an array
| From: | Ernest E Vogelsinger | Date: | Sat, 03 May 2003 13:55:40 +0000 |
| Subject: | Re: remove a key from an array | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146265@lists.php.net to get a copy of this message | ||
At 16:52 03.05.2003, dan rossi said:
--------------------[snip]--------------------
>hi guys i have a quick question , in my error handling i have given it an
>option to return post vars in a session variable when i am triggering an
>error to return back to the form with the error message , anyway from there
>i can loop through the session variable and return back to the form the
>values , anyway i would like to remove the password values out of this i was
>wonderinf how i could remove these keys from the post array ?
--------------------[snip]--------------------
unset($arrayvar[$keyvar]);
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/