Per capire il tuo problema, studiati questo codice:
Codice PHP:
Test 1:
<form method="post">
<input type="submit" />
</form>
Test 2:
<form method="post">
<input type="submit" name="submit" />
</form>
<?php
if ($_POST) {
die("Here it is");
}
?>