Answers for "laravel pass url parameter to controller"

PHP
0

passing parameters with route keyword in blade laravel

<a href="{{ route('blog.by.slug', ['slug' => 'someslug']) }}">...</a>
Posted by: Guest on June-19-2021
1

laravel get url parameters in controller

public function update($name)
{
    User::where('name', $name)->first();
    return view('test')->with('user', $user);
}
Posted by: Guest on February-22-2021

Code answers related to "laravel pass url parameter to controller"

Browse Popular Code Answers by Language