php - How to call a variable in include function in blade template -


i have tried call variable in include function in laravel getting error. can give solution. tried above way.

@include('admin/$page') 

well, if have passed $page blade template thing need is:

@include("admin/{$page}") 

pay attention double quotes.


Comments