I want to return an array that holds hotel names inside the select as options. by defaults, it should select the item[4] of another array. But it is returning an error.
@foreach ($col as $item)
<h3 class="card-title">
{!! Form::select('hotel_name', array($item[4]=>$item[4], array($hotel_name)), 'S',['style'=>' Border: none;
}']); !!}</h3>
@endforeach
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2u8vFIa
via IFTTT
Aucun commentaire:
Enregistrer un commentaire