I have a php table that is filled with a mysql database ...
<table class="table table-striped">
<thead>
<tr>
<th class="text-center" colspan="24"><input type="submit" name="txtEnviar" value="Enviar" class="form-control"></th>
</tr>
<tr>
<th class="text-center">ODC</th>
<th class="text-center">Pedido</th>
<th class="text-center">Modelo</th>
<th class="text-center">Select</th>
</tr>
</thead>
<tbody>
<? foreach ($arrPedido2 as $rowPedido2) { ?>
<tr class="gradeX">
<td class="text-center"><input type="hidden" name="txtNoOdc" value="<? echo $rowPedido2['noOdc'];?>"> <? echo utf8_encode($rowPedido2['noOdc']);?></td>
<td class="text-center"><input type="hidden" name="txtPedido" value="<? echo $rowPedido2['pedido'];?>"><? echo utf8_encode($rowPedido2['pedido']);?> </td>
<td class="text-center"><input type="hidden" name="txtModelo" value="<? echo $rowPedido2['modelo'];?>"><? echo utf8_encode($rowPedido2['modelo']);?></td>
<td class="text-center"><input type="checkbox" name="txtIdPedido[]" value="<? echo utf8_encode($rowPedido2['idPedido']);?>"></td>
</tr>
<? }; ?>
</tbody>
And I want to send the selected ones through a checkbox to another table
<table class="table table-striped">
<thead>
<tr>
<th class="text-center">ODC</th>
<th class="text-center">Pedido</th>
<th class="text-center">Modelo</th>
<th class="text-center">Select</th>
</tr>
</thead>
<tbody>
<tr class="gradeX">
<td class="text-center"> </td>
<td class="text-center"> </td>
<td class="text-center"> </td>
<td class="text-center"> </td>
</tr>
</tbody>
Eat serious?