look in to your form action
<form method="post" action="contact.php">
you are submitting your form to contact.php
is your file named contact.php?