Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to pass multiple variables by controller to blade file?



How to pass multiple variables by controller to blade file?..

Answer / sachin-laradev

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

Post New Answer

More Laravel PHP Framework Interview Questions

List out the databases laravel supports?

0 Answers  


Explain how to share sites with external world on valet?

0 Answers  


Explain how to get requested path in laravel?

0 Answers  


What is a primary implication of a cross site request forgery attack?

0 Answers  


What is php artisan. List out some artisan commands?

0 Answers  


What is meant by Laravel - Hashing ?

1 Answers  


How to add additional sites in homestead environment?

0 Answers  


How to set configuration values in laravel?

0 Answers  


What is use of print_r () and dump () functions?

0 Answers  


How to fetch data from database in laravel?

0 Answers  


How to Assigning Middleware to Route ?

0 Answers  


What is the role of service provider?

0 Answers  


Categories