Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

HTML

Help with forms

I am currently making my own website where i am gonna do a giveaway every friday, i want the users to regiter through my website , where they will be filling the html forms.

My question is how would the data that they input reach to me ? what program do i need to use and what type of file hosting?

4 Answers

Casey Ydenberg
Casey Ydenberg
15,622 Points

You will need to write some PHP - this cannot be done with HTML alone. The simplest solution is send an email for each form submission. This blog post: http://blog.teamtreehouse.com/sending-email-with-phpmailer-and-smtp explains more or less what to do but you might want to do the intro PHP videos first.

Try Google Forms. It is very easy to set up without having to code html and php. codelouisville.org is a great example of using Google Forms to accomplish this.

Try Google Forms. It is very easy to set up without having to code html and php. codelouisville.org is a great example of using Google Forms to accomplish this.

Try Google Forms. It is very easy to set up without having to code html and php. codelouisville.org is a great example of using Google Forms to accomplish this.