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

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.