Ver Mensaje Individual
  #19 (permalink)  
Antiguo 26/05/2008, 16:55
Avatar de Enishy
Enishy
 
Fecha de Ingreso: septiembre-2007
Mensajes: 121
Antigüedad: 16 años, 7 meses
Puntos: 1
Respuesta: botones borrar y modificar en php

En esta parte pones
<input type="hidden" name="id" value="<?php echo $linea['id_dept']; ?>" />

creo que deberia ser
<input type="hidden" name="id_dept" value="<?php echo $linea['id_dept']; ?>" />

el primero boton pone esto

Código:
<div align="center">
    <form action="form_modificar_aulaservi.php" method="post">
    <input type="hidden" name="id" value="<?php echo $linea['id_dept']; ?>" />
    <button class="mult_submit" type="submit" name="submit_mult" value="Modificar" title="Modificar">
    <img src="./imagenes/editar_html.png" alt="Modificar" width="30" height="30" align="middle" class="icon" title="Modificar">
   </button>
     </form>
</div>