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

how can i create a simple bootstrap contact form with php?

any example with name, email, message?

2 Answers

Kevin Korte
Kevin Korte
28,149 Points

Hi Karen,

You question is a little to complex to try to answer fully in a forum post. In general though, you'll need a little bit of html knowledge, and of course php. You can look at the bootstrap documentation to see how to set up a form using the bootstrap classes and markup, and than you'll use php to parse the form submission into something you can do with it, whether that be save it to a database, or send an email - whatever you want.

If you get something going, I'd be happy to try to help you with specific problems you are having. Otherwise, I recommend going through the php lessons here, it'll show you how to build a form, and get the submitted form details.

ok thank you