Skip to content
Advertisement

creating a contact page in HTML and PHP can getting a return error when testing (HTML 500)

So I am rather new to coding in these languages, I am getting a good understanding of how to write in them but not how to troubleshoot well. I went on and found some videos and read some sites to understand how to get this to work, and got this HTML

JavaScript

The PHP

JavaScript

I have it live and attempted to test send myself an email and I get a basic error (HTML Error 500) and no email, it changes the URL to “contactform.php” as expected. I followed the tutorials to the T, what am I doing wrong! Thank you for the help in advance

Advertisement

Answer

Please change the codes from

JavaScript

to

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement