It's the following I'm developing a form, I wanted one of the form fields to appear in an input text and select html, and if the person chooses the select item with several option's, was sent the data entered to the database with the option item that was selected with the input data; I in the form I am going to get the values by ID since they are 2 items, still working? How would I do that?
<select id="inserir_dados">
<option>Exemplo 1</option>
<option>Exemplo 2</option>
<option>Exemplo 3</option>
<option>Exemplo 4</option>
</select>
<input type="text" id="inserir_dados" placeholder="Caso nao exista"/>