How to pass multiple variables by controller to blade file?
return view('view-file', compact('var1', 'var2', 'var3'));
NOTE :- variables in compact will be used without $ sign
| Is This Answer Correct ? | 0 Yes | 0 No |
List out the databases laravel supports?
Explain how to share sites with external world on valet?
Explain how to get requested path in laravel?
What is a primary implication of a cross site request forgery attack?
What is php artisan. List out some artisan commands?
What is meant by Laravel - Hashing ?
How to add additional sites in homestead environment?
How to set configuration values in laravel?
What is use of print_r () and dump () functions?
How to fetch data from database in laravel?
How to Assigning Middleware to Route ?
What is the role of service provider?