How can i show selected dropdown Option which user has selected .
<select class="form-control m-bot15" name="role_id">
@if($roles->count() > 0)
@foreach($roles as $role)
<option value="{{$role->id}}">{{$role->name}}</option>
@endForeach@else
No Record Found
@endif
</select>
How can i show the selected value that comes from db ?
@RachidLaasri I wanted to show that way as well, but I was just on my way to go home from work :P And since he wasn't using any kind of the Form facade I didn't show that way instead ;)
@snapey I started new discussion like this"Please tell me How to Select DropDown Option Selected In Laravel" but I have found no solution,So i came back for solution.