i need to display selected option in blade and set it in a value here's my code as an exemple.
@php($month = 0)
<select name="monthOption" id="monthOption">
<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>
<option value="11">11</option>
<option value="12">12</option>
</select>
<!-- I need to get option value on select, and set it in the value $month ? -->
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2KXeLUh
via IFTTT
Aucun commentaire:
Enregistrer un commentaire