<form method="POST"  action="<?php echo htmlspecialchars($_SERVER["PHP_SELF"]);?>">

Read more of this post