When you submit data to a database via an HTML form, those data are inserted into the database, but if you click the submit button again without entering any data into the input field you will find the same data stored in the database, again when you try to refresh t…