$playerscore = User->score;
$high = $playerscore + 50;
$low = $playerscore - 50;
$rows = whereBetween('scoretotal_column', [$low, $high])->get();
Maybe this would work, Sorry on my cell phone so can’t try it right now
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community