our users access our site with a unique parameter on the url. ie http://example.com/hire-agreement?u=unique_param
I've set up a route to a view -
Route::get('/hire-agreement', function () {
return view('hire-agreement');
});
I have 2 questions.
- Do I need to add anything else to the Route to allow the parameter to be read in the view?
- How do I read this parameter value in the View? Can I use
$_GET["name"])?
thanks Craig.