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:[EMAIL PROTECTED] 
> Sent: Monday, August 23, 2004 5:36 AM
> To: [EMAIL PROTECTED]
> 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
> 
> 

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to