Ver Mensaje Individual
  #7 (permalink)  
Antiguo 02/01/2009, 17:16
esaenz22
(Desactivado)
 
Fecha de Ingreso: abril-2008
Mensajes: 787
Antigüedad: 16 años
Puntos: 7
Respuesta: mensaje en php

porle un boton de tipo button y has un javascript:

Código PHP:

<input type = "button" value = "borrar" onClick = "borrar('<?=$fila['id'];?>')"
Código HTML:
function borrar(id){
     con = confirm("Desea realizar esta accion");
     if(con==true){
         document.nombre-formulario.action = "index.php?id="+id;
         document.nombre-formulario.submit();
     }
}