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