I'm having a set of html codes present in different blade file in view, I'm trying to add these with foreach
loop, but blade template is not able to concatenate the files following is my code:
@foreach($getplugin as $renderer)
@include('themes.'$template->theme->name'.Plugins.'$plugins->find($renderer)->type'.'$plugins->find($renderer)->id)
@endforeach
I'm getting following error:
Parse error: syntax error, unexpected '$template' (T_VARIABLE), expecting ',' or ')' (View: C:\wamp\www\NitsEditor\resources\views\nitseditor\test.blade.php)
Please help out with this. Thanks