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
RAIHAN KHAN
393 PointsNext, we need the flavor selected in the dropdown to be submitted to this process.php file. We need to be able to access it in the “flavor” element of the $_POST array, like this: $_POST["flavor"]. What two changes do we need to make to the HTML? (Hint. W
I DID IT RIGHT BUT I AM CONFUSE ABOUT LOWER CASE post CAN SOMEONE EXPLAIN WHY I HAD TO PUT LOWER CASE INSTEAD OF UPPER CASE AND ALSO CAN SOMEONE EXPLAIN (select id="flavor" name="flavor") THIS... WHAT DOES IT MEAN
<form action= "process.php" method="post">
<label for="flavor">Flavor</label>
<select id="flavor" name="flavor">
<option value="">— Select —</option>
<option value="Vanilla">Vanilla</option>
<option value="Chocolate">Chocolate</option>
<option value="Strawberry">Strawberry</option>
<option value="Cookie Dough">Cookie Dough</option>
</select>
i
RAIHAN KHAN
393 PointsI Just copy and paste the question like others and I didn't about all capital letters so sorry about it i aint mean be mean
RAIHAN KHAN
393 Pointsare you gonna help me out with it ?
2 Answers
ILija Milovic
1,795 Pointsadd in <form> method="post" and problem is solved
Aamnah Akram
17,549 PointsI also have the same question. What's the difference between method="post" and method="POST". I had to put it in lower case for it to work. Why?
James Barnett
39,199 PointsJames Barnett
39,199 Points2 things: