Aalee wrote:
Hi there everyone...

I did a form to add data to a database and it works fine. Once the data is
entered its gives a thankyou message. But the problem is, if I refresh this
thankyou page, the data is entered again into the database. Why is it doing
so. I couldnt think of a way to fix it. Help...

cheers
refreshing a page means resending the last request to the server. If by any chance that were a GET (usually this one) or POST request, it will resend that. Your php script notices those vars were sent, and (re-)adds the info to the db.

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



Reply via email to