Route::post('user/profile', function () {
// Update the user's profile...
return redirect('dashboard')->with('status', 'Profile updated!');
});
//redirct to previous page with message at a specific setion :)
return redirect(url()->previous() .'#comments')->with('success', 'Data Your Comment has been created successfully');
Code Example |
---|
:: |
:: using php, how to create a folder in another folder |
:: |
:: |
Php :: |
:: |
:: |
:: |
Php :: |
Php :: |
Php :: base url laravel |
:: |
:: |
:: |
Php :: |
:: where is php.ini file in ubuntu |
:: define function parameters php |
Php :: Laravel Syntax error or access violation: 1071 Specified key was too long |
:: |
Php :: unlink is a directory laravel |
Php :: migrate specific migration file laravel |
:: |
:: laravel validation regex |
:: |
:: get post php |
Php :: composer update php mbstring.so missing |
:: |
:: |
:: add access-control-allow-origin header laravel |
:: |