I have a simple form that submits text to my SQL table. The problem is that after the user submits the text, they can refresh the page and the data gets submitted again with
Just redirect it to the same page after making the use of form data, and it works. I have tried it.
header('location:yourpage.php');