I have a separate HTML file that has FORM and when Submit button is clicked on, it calls in the PHP (which is also a separated file) to Insert the data into database. My problem is once data are inserted, I have to click on Back on the browser to go back to the HTML file, where the Form is, and if I accidentally click on Refresh button while still on the (//localhost/blabla.php) page, it will automatically insert the last data I put in. Is there a way to make it go back to HTML file once Submit button is clicked? Should I call in the HTML file in the PHP script - if so, how?