Para eliminar varios registros simultaneamente creo un array de check y guardo en el value el id de la base de datos
el codigo es:
Código PHP:
<?php while($row=mysql_fetch_array($rs)){?>
<tr>
<td height="20"><input type="checkbox" name="<?php echo"boton[]"?>" value="<?php echo $row['Id_usuario']?>"></td>
<td height="20" align="left"><?php echo $row['usuario']?></td>
</tr>
<?php }?>
Código PHP:
foreach ($_POST['boton'] as $a){
$sSQL="DELETE FROM tabla WHERE campo IN('".$a."')";
mysql_db_query("base",$sSQL);
}
Gracias de antemano
Un saludo
Iñaki.