Tengo una tabla php que se llena de una base de datos mysql...
<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>
Y Quiero mandar los seleccionados mediante un checkbox a otra tabla
<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>
Come seria?