Ver Mensaje Individual
  #8 (permalink)  
Antiguo 12/09/2008, 10:31
Rockzilla
 
Fecha de Ingreso: julio-2008
Mensajes: 129
Antigüedad: 15 años, 10 meses
Puntos: 0
Respuesta: problema con checkbok y el boton eliminar

lo coloque asi
Código PHP:
<?php
   
include("conext.php");
   
$link=Conectarse();
   
$id=$_GET['id'];
   
$registro $HTTP_POST_VARS['registro']; 
   
foreach (
$registro as $llave
  { 
   
mysql_query("delete from actividades where id_tabla = $id",$link);
   
header("Location: borraractividades.php");
     }
?>
me dice que el error se encuentra aqui
Código PHP:
foreach ($registro as $llave