This is my code in laravel blade
@foreach($modules as $module) // {{ mod.$module['module_name'] }} giving me right value @section('content') @include("mod.$module['module_name']") // mod is my folder name and $module['module_name'] value is coming from database @endsection @endforeach {{ mod.$module['module_name'] }} is giving me correct value but when i pass it to @include it gives me error. Please help me !!!
@include("mod.{$module['module_name']}")?