Tag: data pass

  • Passing data to view

    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 () {    …