<div class="col-xs-12 col-sm-12 col-md-12">
<div class="form-group">
<strong>From Destination:</strong>
<select name="from_destination_data" class="form-control">
@if ($destinationsData != [])
@foreach($destinationsData as $info)
<option value="{{$destinationsData[$index]}}">{{$info}}</option>
@endforeach
@endif
</select>
</div>
</div>
I retrieve the $index of the selected $destinationData and when dd($destinationsData[$index]); I get the result that I need but it doesn't appear when I put it in the value as shown above