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 |
How we can upload files in laravel? Explain
What is php artisan serve in laravel?
What are route prefixes?
How can you reduce memory usage in laravel?
In order to run laravel. What permissions are required to be on storage and the bootstrap/cache directories?
What is laravel vue?
Tell me what is the purpose of using dd() function iin laravel?
Tell me how to enable the query logging?
Explain how to enable multiple php versions in homestead?
Explain facades in laravel?
What is blade laravel?
What is laravel orm?