I need to output only those users who fall into the conditions. For example, if Yes, two dates from (01.01.2020) to (06.01.2020) and all users whose date is in this interval were displayed on the screen
In my controller I'm doing this:
$data_ot = $request->input('data_ot');
$data_do = $request->input('data_do');
$othet = Othet::where('data_start',$data_do,'=>',$data_ot)->get();