![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
11/09/2008, 10:19
|
| | Fecha de Ingreso: agosto-2008
Mensajes: 94
Antigüedad: 16 años, 6 meses Puntos: 0 | |
Respuesta: eliminacion con php el borra.php lo deje de esta manera....
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
</head>
<body>
<?php
include("funciones.php");
con_db();
$cod_servi=$_GET['cod_servi'];
mysql_query("delete from servicio_video where cod_ser=$cod_servi");
header("Location: ejemplo_de_borrar.php");
?>
<?php
$cod_servi=$_GET['cod_servi'];
mysql_query("DELETE FROM servicio_voz WHERE cod_ser =$cod_servi");
header("Location: ejemplo_de_borrar.php");
?>
<?php
$cod_servi=$_GET['cod_servi'];
mysql_query("delete from servicio_datos where cod_ser=$cod_servi");
header("Location: ejemplo_de_borrar.php");
?>
</body>
</html> |