"Nicklas Bondesson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> 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

Hi Nicke,

unset($_POST['var']) *should* work - it works for me (PHP 4.3.8). You could
also do $_POST = array() to reset all values.

Regards, Torsten Roehr

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

Reply via email to