php - How to make a form with multiple items from database with laravel -
i have taken list of items table in db , want make form consists of dropdown box containing these items. , when click item want added list next listbox can save these multiple items in db . (the main goal select single or multiple labels newsitem in site)
code in html gives list of labels (working) :
@foreach($labels $label) <p>{{$label}}</p> @endforeach
now need {{form:: ...... element creates dropdown box of these labels.
<select>
... ,</select>
, change<p>
<option>{{$label}}</option>
– alexander apr 25 '15 @ 9:55