Answers for "return redirect with variables laravel"

PHP
1

laravel response redirect

#Method 1 with route name
return redirect()->route('login');

#Method 2 back with input
return back()->withInput();

#Method 2 using a url
return redirect('/home/dashboard');
Posted by: Guest on August-25-2021
0

Passing values to blade using redirect() and back() functions

return redirect()->back()->with('fee', $fee)
        ->with('vat', $vat)
        ->with('Transaction_vat', $Transaction_vat);
Posted by: Guest on October-09-2021

Code answers related to "return redirect with variables laravel"

Browse Popular Code Answers by Language