Re: Forms and destroying values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all, give this a try Beauford.
<META HTTP-EQUIV="CACHE-CONTROL" CONTENT="NO-CACHE">
Place that up in the head of the documement. It's not PHP but it used to
work. I haven't used it in a few years.

""Beauford"" <phpuser@xxxxxxxxxx> wrote in message
news:<000101c73623$758fc4a0$123aa8c0@xxxxxxxxxx>...
> Hi,
> 
> How do I stop contents of a form from being readded to the database if the
> user hits the refresh button on their browser.
> 
> I have tried to unset/destroy the variables in several different ways, but
> it still does it. 
> 
> After the info is written I unset the variables by using unset($var1,
$var2,
> $etc). I have also tried unset($_POST['var1'], $_POST['var2'],
> $_POST['etc']). I even got deperate and tried $var = ""; or $_POST['var']
=
> "";
> 
> What do I need to do to get rid of these values??? Obviously I am missing
> something.
> 
> Any help is appreciated.
> 
> Thanks

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux