I have a table of requests and what I want to do is an UPDATE that when I check the checkbox of several of them, I update the database that all the selected ones are en route. but I do not understand how to capture the multiple values of the checkboxes and save them in the route column. Thanks
$query = mysqli_query($con,"SELECT * FROM contribuyente order by id LIMIT
$offset,$per_page");
if ($numrows>0){
?>
<div class="panel-body">
<div class="panel panel-default">
<form action="checkruta.php" method="post" >
<table class="my-table">
<tr class="odd gradeX">
<th>Folio</th>
<th>Nombre</th>
<th>Fecha Solicitud</th>
<th>Solicitud</th>
<th>Estado</th>
<th>Fecha reporte</th>
<th>Seleccionar Ruta</th>
<th><input type="submit" name="guardar" value="guardar"/></th>
</tr>
</thead>
<tbody>
<?php
while($row = $res->fetch_array(MYSQLI_BOTH)){
?>
<tr>
<td><?php echo $row[0];?></td>
<td><?php echo $row[1];?></td>
<td><?php echo $row[6];?></td>
<td><?php echo $row[7];?></td>
<td><?php echo $row[8];?></td>
<td><?php echo $row[10];?></td>
<?php echo "<td><input type='checkbox' id='cbox1' value='en ruta'> <br></td>";
?>
</tr>
<?php
}
?>