how to reload page after submit in php code example
Example: php do not refresh page after submit post
// add this code to javascript
<script>
if ( window.history.replaceState ) {
window.history.replaceState( null, null, window.location.href );
}
</script>