Ah, scusa, name="submit" visto che fai isset($_POST['submit'])