lundi 22 mai 2017

Laravel get select value with variable

Hello Im trying to get the select value which also happens to be a variable is that possible if not how can I get that done.

<select name="foo">
<option value="bar"></option>
</select>
echo Input::get('foo') // outputs bar

Ho can I get this work ?

 <select name="foo">
<option value=""></option>
</select>
<echo Input::get('foo') // outputs nothing



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire