I'm using shipping system where will calculate shipping price.
this is what i get in my blade currently:
As you see I get id of state and then name of state.
here is my function:
public function index() {
$data = RajaOngkir::Provinsi()->all();
return view('welcome', compact('data'));
}
and this is my blade code:
@foreach($data as $sss)
@foreach($sss as $numbers)
{{ $numbers }} <br>
@endforeach
@endforeach
here is {{$data}} dump info:
what I want is to getting
idandnameseparately so I can use it in input.

