请帮助我,我想在刀片中显示foreach值,如何在foreach中显示foreach?
{!!Form::select('subkategori', array(
@foreach($sktgr as $kategori=>$value)
"$kategori" => array(
@foreach($sktgr as $kategori=>$value)
"{{$sub}}",
@endforeach
),
@endforeach
),"$course->idSubkategori",['style'=>'width:100%','data-toggle'=>'select2'])!!}
答案 0 :(得分:0)
我解决了我的问题
required