RE: [PHP] Clear HTTP POST value
| From: | Gryffyn, Trevor | Date: | Mon, 13 Sep 2004 17:41:54 +0000 |
| Subject: | RE: [PHP] Clear HTTP POST value | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-196537@lists.php.net to get a copy of this message | ||
I don't see why that wouldn't work. It's not in a conditional or
something where the "unset" command isn't being executed?
If that fails still, maybe try:
$_POST["var"] = "";
-TG
> -----Original Message-----
> From: Nicklas Bondesson [mailto:nicke@nicke.nu]
> Sent: Monday, August 23, 2004 5:36 AM
> To: php-general@lists.php.net
> Subject: [PHP] Clear HTTP POST value
>
>
> Hi!
>
> Is there a smooth way to clear a posted value on a page? I
> have tried the
> following without sucess.
>
> unset($_POST["var"]);
> unset($HTTP_POST_VARS["var"]);
>
> Nicke
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>