Skip to content

PHP code snippet – How to use old for select in blade laravel?

<select name="example">
<option {{ old('example') == $value ? "selected" : "" }} value="{{ $value }}">{{$label}}</option>
See also  How to delete an element from an array in Java?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.