echo '
<body onload="document.subfrm.submit()">
<form method=post action="index.php?" name="subfrm">
<input type=hidden name="mnux" value="master.dosen">
<input type=hidden name="gos" value="DsnEdt">
<input type=hidden name="md" value="0">
<input type=hidden name="dsnid" value="'.$dsncr.'">
</form>
</body>
<noscript><meta http-equiv="refresh" content="0; url=JavascriptHarusDinyalakan.html" /></noscript>
<noscript><p>Please enable JavaScript in your browser for better use of the website.</p></noscript>
';
i tried both method here http://form.guide/php-form/php-form-submit.html but none of them redirected to new page