i have an select dropdown like that in my view:
<select name="table" class="form-control" id="db_table">
@foreach($tables as $table)
<option value="{{$table->id}}">{{$table->name}}</option>
@endforeach
</select>
And I want to pass the id which is in option value of the select to a link used in the same view. I can't use post form, because i want to use the value in another route.