hola amigos, mi consulta es la siguiente
en una pagina php tengo una tabla que lista id, nombre, tiempo, fecha
en la parte derecha tengo 2 botones [btnmodificar y btneliminar]
como podria hacer para al hacer clic en btneliminar se elimine solo esa fila y mas no el resto, lo mismo con modificar q me salga un popup q modifique
esta es masomenos la tabla[aunke esta distorcionada
![sonriente](http://static.forosdelweb.com/fdwtheme/images/smilies/smile.png)
]
Cita: -----------------------------------------------------------------------------
|id | nombre| tiempo | fecha | btnModificar | btnEliminar |
-----------------------------------------------------------------------------
|lal1 | lalo | 50min | now | btnModificar | btnEliminar |
|joa2| juan | 30min | now | btnModificar | btnEliminar |
| ... | ... | ... | ... | btnModificar | btnEliminar |
| ... | ... | ... | ... | btnModificar | btnEliminar |
-----------------------------------------------------------------------------
este es el codigo, q lista perfectamente los datos de la base de datos
lo q no llego a realizar es lo q les mencione anteriormente
Código HTML:
<form action="" method="post">
<table width="650" border="0" align="center" >
<tr>
<td width="106" class="tb_lista_tiempos">ID</td>
<td width="198" class="tb_lista_tiempos">Nombres</td>
<td width="82" class="tb_lista_tiempos">Tiempo</td>
<td width="104" class="tb_lista_tiempos">Fecha</td>
<td width="70"> </td>
<td width="64"> </td>
</tr>
<?php
include('procesos php/listatiempos.php');
while ($row = mysql_fetch_array($resultado))
{
?>
<tr>
<td class="tb_lista_tiempos_fila"><?php echo $row['usu_id']; ?></td>
<td class="tb_lista_tiempos_fila"><?php echo $row['nombres']; ?></td>
<td class="tb_lista_tiempos_fila"><?php echo $row['tiempo']; ?></td>
<td class="tb_lista_tiempos_fila"><?php echo $row['tie_fecha']; ?></td>
<td><input type="submit" name="button" id="button" value="Modificar" class="boton_modificar" /></td>
<td><input type="submit" name="button2" id="button2" value="Eliminar" class="boton_modificar" /></td>
</tr>
<?php } ?>
</table>
</form>
GRACIAS AMIGOS