php - Laravel question, How to use _GET on Blade
one text
Solution:
The solution is to register the URL format in the web.php
file. In that file, add this line:
Route::get('/schedule/{date}', [ControllerName::class, 'addnewdate']);
Now, whenever the the controller method is called, it'll pass the date as an argument to your addnewdate
method, which you need to restructure like this:
public function addnewdate($date){
//Do sth with the date
}
Source