Search
 
SCRIPT & CODE EXAMPLE
 

PHP

Go back URL in Laravel

{{ url()->previous() }}
//or
{{ redirect()->getUrlGenerator()->previous() }}
//or
{{ redirect()->back()->getTargetUrl() }}
//By Ayoub Myweb

Comment

PREVIOUS NEXT
Code Example
Php :: check if session is started php 
Php :: php string to uppwe 
Php :: php error 
Php :: install php8 on linux 
Php :: how to create random alphanumeric in php 
Php :: laravel get project root 
Php :: generate random unique hex color code using php 
Php :: php uppercase 
Php :: if user logged in wordpress 
Php :: brew remove php 
Php :: php recursively delete directory 
Php :: remove word from string php 
Php :: php forbidden header 
Php :: wordpress error log 
Php :: blade number format by comma 
Php :: php file_get_contents follow redirect 
Php :: check if includes numbers php 
Php :: get id user login laravel 
Php :: php parse float 2 decimal places 
Php :: php header redirect 
Php :: password match laravel 
Php :: popup in php 
Php :: image upload form 
Php :: php referrer 
Php :: php artisan clear 
Php :: php curl post application/x-www-form-urlencoded 
Php :: url encode php 
Php :: Failed to connect to github.com port 443: Connection timed out 
Php :: reset wp query 
Php :: php check if cli 
ADD CONTENT
Topic
Content
Source link
Name
5+8 =