how to make a page refresh after submit php code example
Example: prevent form submit on page refresh php\
//Using Javascript
<script>
if ( window.history.replaceState ) {
window.history.replaceState( null, null, window.location.href );
}
</script>