Re: Forms and destroying values

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

 



Beauford wrote:
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.

Perhaps a session variable that is set once the form is submitted.

Depending on the data you could also look at having a primary key in the database.

You could also have a hidden form variable that has some random value, once used, it cant be used again.

clive

--
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