刀片中的Laravel-5 Foreach

时间:2015-06-29 01:09:49

标签: laravel laravel-5

请帮助我,我想在刀片中显示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'])!!}

1 个答案:

答案 0 :(得分:0)

我解决了我的问题

required