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 Build a Simple PHP Application Adding a Contact Form Working with Get Variables

Darren Healy
seal-mask
.a{fill-rule:evenodd;}techdegree
Darren Healy
Front End Web Development Techdegree Student 23,565 Points

PHP Course: Adding a Contact Form

Do we address later how to make this form submission end up being delivered as an email or similarly how we can even set it up as a subscription to a newsletter database?

Randy Hoyt

3 Answers

This is something that's definitely covered in this course - but I think it comes in at the final badge. Keep on rocking through and it will come up!

Sending starts from here.

With regards to signing up for a mailing list, that's super simple. You'll need to work on your database know-how, which is also covered in this track. Keep at it, because by the end of this course, you should be equipped to complete your task!

nice!

Andrew McCormick
Andrew McCormick
17,730 Points

Darren, Emailing the form submission was covered a video or two before this one: http://teamtreehouse.com/library/build-a-simple-php-application/adding-a-contact-form/redirecting-after-a-form-submission.

As for the newsletter database, are you looking to plug in to something like mailChimp or to create your own?

Darren Healy
seal-mask
.a{fill-rule:evenodd;}techdegree
Darren Healy
Front End Web Development Techdegree Student 23,565 Points

Hi Andrew,

That video only shows us how to redirect to a thank you page, but the actual step of sending a completed form to a specified email address isn't covered here. Maybe I've missed something?

Newsletter database: more likely something akin to mailchimp but potentially the latter too.