How do I perform a search in the database, through a parameter reported by the tag select
?
Follow the code below:
<select class="form-control" id="inputUnidade">
<option>Selecione</option>
<option>*GCOI</option>
<option>ESC - RJ</option>
</select>
Example, if you choose "ESC-RJ", search only the records that are "ESC-RJ". Any tips?