I have a form with the following structure below:
<?php
//Lógica em php....
?>
<html>
.....
<form method="post" action="">
.....
<input type="submit">
.....
By clicking on the submit button the page reloads, executing on the server the php logic and returning the result to the page itself. However, when reloading the browser (F5 for example) the same question is asked if I want to reload the request. Is there a way to prevent the browser from forcing the client to always reload the last request?
Note: I know there are simple ways to solve this problem, such as using Ajax. But the idea here is to solve this problem without changing the current structure. Is this possible?