Update file editpage.php

This commit is contained in:
Jan BELLON 2024-03-07 18:01:37 +00:00
parent 433bb66a15
commit 1102908142

View File

@ -38,8 +38,8 @@ if(isset($fichier)) {
$upload = $bdd->prepare("DELETE FROM articles WHERE ID = :filename");
$upload->bindParam(':filename', $filename);
if($upload->execute()) {
header("Location: editpage.php");
echo "Fichier supprimé";
header("Location: journal.php?article=" . $filename);
exit();
} else {
die("Erreur SQL");