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
Mark Cabangon
3,940 PointsForm Submission
Hi Everyone, I'm a beginner here and would like to know which track/course to take to send data from a form. I've finished the html and css courses and have implemented a form on a webpage done in html.
Now to send the data from the form. PHP, Ruby, Jquery? Which course should I take to learn this?
Thanks, Mark C
4 Answers

Erik McClintock
45,783 PointsMark,
I haven't taken the Ruby courses, but for PHP, you can learn a bit about submitting forms (specifically, sending an email from a form, if memory serves) from the Build a Simple PHP Application and Enhancing a Simple PHP Application classes.
Erik

Oziel Perez
61,321 Points^ I'm currently on the course mentioned above. It's definitely easiest for me to use PHP. The coding for such email forms is rather simple once you analyze it well. Here's a very good step by step article on how create the form and program it with php, should you still need additional help:
http://tangledindesign.com/how-to-create-a-contact-form-using-html5-css3-and-php/
I will point out that if you wish to add file attachment on your form, you should probably stay away from that until you get a firm grasp on programming a basic email form, because trust me, there's a lot of reading to do regarding MIME types for email messages and the coding on those types of forms was a pain in the brain. Hope this helps you!
Mark Cabangon
3,940 PointsOziel, Awesome! Thanks a bunch for the link. The form I'm building is just a questionnaire. Nothing too fancy.
Mark C
Mark Cabangon
3,940 PointsEric - That's exactly what I was looking for as for courses go!
Oziel - I went over the tutorial and will definitely use it to custom build my forms for future projects.
Thanks a bunch guys!! Exactly what I need and more.
Mark C

Erik McClintock
45,783 PointsPerfect! Glad we could help, Mark!
Happy coding :)
Erik
Mark Cabangon
3,940 PointsMark Cabangon
3,940 PointsThanks, Erik. I will check it out. My form is in the making still and I've estimated over 20 fields of information to be sent.