Tag: laarvel
-

Blade Array
Array syntax is Laravel is same as in another, here we pass array as a second argument in view and create that array outside Like below and call this array either using any loop but we use foreach loop that do the work simple for an array. There are couple of things that we can…
-

Blade Basic
As we know we can send the data from route to view using {{ }} – curly braces that is blade syntax. As we know blade is a template engine that make easier to work with data and logic inside of php. Some Basic Blade syntax If we use if statement in Laravel then first…
-

Passing data to view
Data can easily be passed from route to view by passing second argument to view and this argument is an array that is key value pair or we declare array in a variable and use this variable as a second argument. Here each key is a variable For Example Route::get (‘/contact’, function () { …
-

What is Laravel?
Laravel is a PHP framework for creating Websites that work well with MySQL database and follows MVC – Model view and controller. Model represent data stored in database View represent the HTML template that send to the browser. Controller is the middle between model and view. the main work of controller is to get the…