![]() |
|
|
#1
|
|||
|
|||
|
PHP form
ok ive done a simple form which posts to
<?php echo $_SERVER['PHP_SELF'];?>"> ok when the page gets refreshed after the submit button has been pressed it then resends the data again, how can i stop it from resending the data once the page is resent ?? |
|
#2
|
|||
|
|||
|
Have a look here and see if it helps you.
__________________
Beekeeping Forum |
|
#3
|
|||
|
|||
|
ermm didnt see anything in there that wld help, i just wnt it so if the page is refreshed the data doesnt get resent.
|
|
#4
|
||||
|
||||
|
So the data is from the form? In the form, add a hidden input:
Code:
<input type="hidden" name="dataResend" /> |
|
#5
|
|||
|
|||
|
Check with this code:
php Code:
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| I have a html form, you need to make a sendmail.php to preocess my form | sakib000 | Programming | 6 | Mar 20th 2008 5:28 am |
| Frontpage Form needs to be converted to .php form | gariben | Programming | 8 | Mar 9th 2008 12:20 pm |
| PHP Tutorial: Writing Your First PHP Script: Feedback Form Script | Jerlene.net | Freebies | 0 | Jul 8th 2007 2:55 pm |
| PHP Contact Form / Order Form Service | metalstein | Services | 0 | Jan 1st 2007 1:10 pm |
| php and form | wormser | PHP | 4 | Oct 5th 2006 7:26 am |