PATH:
var
/
www
/
vhosts
/
lahuertaatomica.es
/
httpdocs
/
admin
/
modules
/
clientes
/
Editing: delete.php
<?php $idcliente = abs(intval($_GET["idcliente"])); $consulta = "delete from clientes where IDCliente = " . $idcliente; $resultado = mysqli_query($conexion,$consulta); if ($resultado) { header("Location: index.php?seccion=select-clientes&error=1"); } else { header("Location: index.php?seccion=select-clientes&error=2"); } ?>
SAVE
CANCEL