php do not refresh page after submit post 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>