Jump to content

how to remove form field value in php


beboo002

Recommended Posts

Hello Freaks,

 

 

My question is how to remove form field value after inserting the database.

 

Take an example that you have submit the form and form value store in the database .

Form action is same.

 

Here I am not using header (location:xyz.php).

 

If you refresh the page then duplicate value store in database.

 

How can I prevent the duplicate value in database while refresh the page?

 

Thanks & Regard

Beboo

 

Link to comment
https://forums.phpfreaks.com/topic/118591-how-to-remove-form-field-value-in-php/
Share on other sites

Thanks for reply

 

Ok I think both solution is right but in

First reply we need one more column in database if I use mail() then how can I do it.

In Second reply if user fills same form in second time how can I insert the data.

 

My question is how to prevent the duplicate value in database or mail() to refresh the browser

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.