Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/04/2014, 19:10
c3media
 
Fecha de Ingreso: diciembre-2013
Ubicación: careps
Mensajes: 30
Antigüedad: 10 años, 5 meses
Puntos: 0
Sonrisa Registrar datos al hacer click

Hola a todos, tengo este codigo:

Código PHP:
<table  cellpadding="0" cellspacing="0" border="0" class="display" id="example">
        <thead>
<tr>    
  <!-- <th>Direcci&oacute;n</th>-->
    <th>Cedula</th>
    <th>Fecha Expedicion</th>
    <th>Nombre</th>
    <th>Genero</th>
    <th>Tipo de Usuario</th>
    <th>Grupo</th>
    <th>Cantidad</th>
    <th width="10">
  </tr>
  <thead>
  <tbody>
  <?php while ($rsEmp mysql_fetch_assoc($queEmp)) { ?>   
  <tr>
    <td><?php echo $rsEmp['DNI']; ?></td>
    <td><?php echo $rsEmp['F_EXP_CEDULA']; ?></td>
    <td><?php echo $rsEmp['NOMBRE_COMPLETO']; ?></td>
    <td><?php echo $rsEmp['GENERO']; ?></td>
    <td><?php echo $rsEmp['ROL']; ?></td>
    <td><?php echo $rsEmp['group_id']; ?></td>
    <td><?php echo "$count[0]"?></td>
         
    <td><a href="marcar.php?DNI=<?php echo $rsEmp['DNI']; ?>"><img src="../images/dependencias.png" height="40%" width="170%" title="Marcar"  /></a></td>
    <td><a href="editar.php?DNI=<?php echo $rsEmp['DNI']; ?>"><img src="../images/database_edit.png" title="Editar"  /></a></td>
    </tr>
  <?php ?>
  </tbody>
   </table>
Como pueden observar hay dos botones, Marcar y Eliminar; para cada registro de la tabla.

Deseo entonces hacer que al dar click en marcar, me guarde los datos de ese registro en otra tabla, logré hacerlo tomando los datos en un formulario (Marcar.php) para luego enviarlos desde allá; y así es un tanto ineficiente !


Quedo atento sobre alguien que tenga experiencia y me pueda ayudar a solucionarlo!

Saludos...