devi mettere
codice:
<input type="submit" name="accedi" value="Accedi">
e poi cambia anche questo
codice:
<form action="<?php $_SERVER['PHP_SELF']; ?>" method="post">