The following code is trying to update a column itself by multiplying by an input variable:
$multiplier = $request->input("disc");
DB::statement('SET entries UPDATE dp = dp * :multiplier', array('multiplier' => $multiplier));
When I run this I get an error regarding my syntax.
I used https://fideloper.com/laravel-raw-queries to try and create my query.
SET entries? What is this supposed to do?