laravel url with parameters blade

47

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

{{ request()->id }}
url('path') . '?' . http_build_query(['param1' => 'value', 'param2' => 'value']);
public function update($name)
{
    User::where('name', $name)->first();
    return view('test')->with('user', $user);
}

Comments

Submit
0 Comments