Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trial
Maria Cuan
4,500 PointsContact form not working! :(
Hi everyone!
please help me find the problem in my contact form :( it is on php. Here is the link on: http://codepen.io/anon/pen/Aorlw
and how it is on my website: http://esthercuan.com/contact
it keeps throwing my error message :(
2 Answers
Rick Silva
Courses Plus Student 99 PointsTry removing the colons from your "if" and "else" statements.
Maria Cuan
4,500 Points:(
Parse error: syntax error, unexpected T_ELSE in /mnt/stor9-wc1-dfw1/652629/886710/www.esthercuan.com/web/content/site/snippets/contactform.php on line 20