Answers for "get value from url laravel"

PHP
2

how get url in laravel

// Get the current URL without the query string...
echo url()->current();

// Get the current URL including the query string...
echo url()->full();

// Get the full URL for the previous request...
echo url()->previous();
Posted by: Guest on May-22-2021
0

get url parameters in laravel blade

/** resources/my_view.blade.php */

{{ request()->id }}
Posted by: Guest on September-08-2021
0

get value mentthod get laravel

Input::get('lastName') ;
//lastName is variable in view
Posted by: Guest on September-22-2020
0

how to see with page reuested in laravel

$request->fullUrl()
Posted by: Guest on November-07-2020
-1

how to get the url parameter in blade laravel

Route::get('/posts/{post}/comments/{comment}', function ($postId, $commentId) {
    return view('name of the view')->with('postId',$postId);
});
Posted by: Guest on June-19-2021

Code answers related to "get value from url laravel"

Browse Popular Code Answers by Language