Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel get url parameters in controller

public function update($name)
{
    User::where('name', $name)->first();
    return view('test')->with('user', $user);
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #url #parameters #controller
ADD COMMENT
Topic
Name
8+5 =