This is the PHP it suppose to connect to a contact.html page and then a thank you page after afterwards.I just wanted a contact form. it wont recognize files as .php.I did save
You wrote that it's a file named contact.html or you try to connect to contact.html - is this correct? You should rather use contact.php.
contact.html
contact.php