Answers for "laravel redirect back with errors and input"

PHP
5

laravel redirect back with input

// Laravel 5
return redirect()->back()->withInput();
// Laravel 6,7, 8
return back()->withInput();
Posted by: Guest on September-05-2021
1

laravel redirect back with errors and input

return redirect()->back()->withInput();
Posted by: Guest on November-03-2020
1

return redirect with message laravel

Route::post('user/profile', function () {
    // Update the user's profile...

    return redirect('dashboard')->with('status', 'Profile updated!');
});
Posted by: Guest on October-26-2020

Code answers related to "laravel redirect back with errors and input"

Browse Popular Code Answers by Language