<form method="post" action=<?php $variable=$_SERVER["PHP_SELF"] ?>>

apparte che nn stampa niente questo codice, anche qui serve il ;