Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel include with variable

@include('layouts.article', ['mainTitle' => "404, page not found", 'mainContent' => "sorry, but the requested page does not exist :("])
 
PREVIOUS NEXT
Tagged: #laravel #include #variable
ADD COMMENT
Topic
Name
8+1 =