![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
18/04/2009, 09:46
|
![Avatar de rafyky86](http://static.forosdelweb.com/customavatars/avatar296184_1.gif) | | | Fecha de Ingreso: abril-2009 Ubicación: monterrey
Mensajes: 81
Antigüedad: 15 años, 10 meses Puntos: 0 | |
Respuesta: Como Validar <?php
session_start();
if (!isset($_SESSION["usuario"])){
echo "<font color=crimson><b>Para entrar debe inciar sesion</b></font>
<br><br><a href=ingresar.php target=ingresar>Inicio</a>
";
exit();
}
if(isset($_GET["id"])){
echo"El id enviado es:$_GET[id]";
include('conexion.php');
$sql="DELETE FROM jea_500_cp WHERE id_jea_500_cp=$_GET[id]";
mysql_query($sql,$conexion);
if(mysql_affected_rows()>0){
mysql_close();
header("Location:consultaDispJeacp.php?m=exitoso") ;
}
else {
mysql_close();
header("Location:consultaDispJeacp.php?m=no_exitos o");
}
}else echo"no se ha enviado el id";
?>
y luego este manda al anterior PERO LO QUE YO QUIERO ES MANDAR UN MENSAJE PARA QUE ACEPTE EL USUARIO QUE LO QUIERE BORRAR |