what is the code for the selection boxes in html??
is that code included in the form tag or not??

I am pretty sure that you could have located this information by doing a search on the web faster than actually posting a question.. but anyway here is an example..

<select name="dropdown">
  <option value="1">One</option>
  <option value="2">Two</option>
  <option value="3">Three</option>
  <option value="4">Four</option>
</select>

Of course there are other attributes you can use with the select element depending on what you need. It can go within or out of the form element, but if you want to retreive the selected option on a form post, it needs to be within the form start and end tag.

ty :)

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.