Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel pass variables to view

return view('home')->with('userName',$userName);
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #laravel #pass #variables #view
ADD COMMENT
Topic
Name
4+8 =