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 trialAdam Driggers
8,408 PointsThis code challenge seems unrelated to the Paypal integration. Where is info on $_POST?
I don't know how to proceed with this code challenge. I'm unclear what is is actually asking me to do.
1 Answer
Shawn Gregory
Courses Plus Student 40,672 PointsAdam,
- Challenge 1 is asking you to add to the <form> tag that submits the form to the file process.php file.
- Challenge 2 is asking you to add a method to the <form> tag that'll allow you to use the $_POST variables plus you need to add something to the <select> tag so the process.php file will be able to reference the form field using the $_POST.
- Challenge 3 is asking you to add another field to the form that doesn't display the field in the browser. (Remember what the instructions are asking you to do and what is default for a form field).
Once you do this you will be able to pass the code challenge. I know the challenge is a little bit misleading, but read the instructions carefully and rewatch the videos if you need to. Good luck!
Cheers!