I have written a program, when someone enters information into a form it is them entered into a database if all of the validation works out. The issue is, if the user refreshes the results page, a duplicate entry is recorded into my database. I have tried emptying the variables after the results are printed but that doesnt work.
Is there a way that I can keep the duplicate entry from being recorded into my database if the page is refreshed?
Is there a way that I can keep the duplicate entry from being recorded into my database if the page is refreshed?