Refreshing page
| From: | Radovan Radic | Date: | Tue, 08 Oct 2002 12:49:11 +0000 |
| Subject: | Refreshing page | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-16248@lists.php.net to get a copy of this message | ||
Hi
I have a form and buttons insert, update, delete with input boxes.
Method is post , action $PHP_SELF (php 4.0.6+MSSQL)
When user presses insert button then i have
action=$PHP_SELF&operation=insert&name=SomeName&lname=
&SomeLName&...
After submit it all goes well and data are inserted into the table.
But when i am testing this page and click refresh i guess that same date
will be inserted one more time, or updated or deleted depending on the
opeartion.
How can i prevent this ?
Thanks
Radovan