How do I get the selected value from a select and already print it? I have a simple form, when the user select the value I want to assign to a php variable, because I will show the selected quantity and selected amount x the value of the selected ticket.
<div class="col-md-4">
<div class="form-group">
<select id="cb_catinsumo" class="form-control select_ticket" name="teste">
<option value="0">0</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
<option value="8">8</option>
<option value="9">9</option>
<option value="10">10</option>
</select>
</div>
</div>