Verwenden Sie Get in Laravel Blade
{{ request()->has('faq') ? request()->get('faq') : '' }}
Zeevx
{{ request()->has('faq') ? request()->get('faq') : '' }}
<select>
@for($i = 0; $i < 24; $i++)
@if($i < 10)
<option
value="{{'0'.$i.':00'}}" {{'0'.$i.':00' === $request['order_time-1']?'selected':''}}>
{{'0'.$i.':00'}}
</option>
@else
<option
value="{{$i.':00'}}" {{$i.':00' === $request['order_time-1']?'selected':''}}>
{{$i.':00'}}
</option>
@endif
@endfor
</select>