I have the function score of a control with the following code:
public function score($ids, $points) {
$score = Team::find($ids)->increment('points', $points) ;
The $ ids field will receive several ids that I am writing to an input of type hidden. The idea is to take the id and increment the score of those in the input. For example it will have 3,4,6,10. I load from another controller the points, just declare $ quest-> points. How do I pass these two parameters using a button?