Ver Mensaje Individual
  #5 (permalink)  
Antiguo 23/03/2009, 09:07
harvestmoon
 
Fecha de Ingreso: febrero-2009
Ubicación: cancun!
Mensajes: 898
Antigüedad: 16 años, 1 mes
Puntos: 15
Respuesta: SELECT de select marcados con checkbox

<?php
if(!empty($_POST['campos'])) {
$aLista=$_POST['campos'];
$sQuery="DELETE FROM tabla where id IN (".implode(',',$aLista).")";
}
?>

cambiando tu query ya se no es while pero es mejor q el foreach suerte
PD: no he probado cualkier cosa me avisas saludos!