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 Integrating with PayPal HTML Forms

select attributes

the code challenge told me to put an attribute on the selcect tag. but there is no such attribute?

3 Answers

Are both action and method in the html form tag? You may be missing method: post.

the challange is this:The code below contains a simple HTML form. It looks fine in the browser, but it does not send the information to the server. In this code challenge, we’ll make a few modifications so that it will. First, we need the data submitted to a process.php file in the same folder as this form.html. What do we need to add to the HTML? (Hint: we need to add one attribute to an existing HTML element.)

the first attrubute is fixed but the second?

i forund the aswer :) thank you thomas for get me thinking in the right direction! both the the action attribute and methos attribute were there. but the name in the select tag was missing. just like the hint said... :)