how to prevent the form submit it values when i press the refresh button
View Single Post
So you mean to say you want user to show that instead of it is coming. I got that wrongly.
You have to submit the form to page where you insert the data in database and then show the message to the user.