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

PHP

Web forms with php scripts

Hi,

I recently constructed a form for a new website and the action php script that would send the information to an email address, I've been reviewing what I’ve done for a bit now and can not understand how it’s not working. The php script is sending the email but its not capturing and sending the actual data the person inputs into the text fields :(

I've attached my html page and the php script. Can anyone spot the mistake? Really keen to solve this as this is the last page for my new site.

Cheers :)

I've uploaded my file here for you to review: http://www.fraserdavie.com/phpissue.rar

1 Answer

Hi, worked my way through a few php videos and have maanged to fix the issue myself. Form now working as required. Woohoo :)