Update file editpage.php
This commit is contained in:
parent
433bb66a15
commit
1102908142
@ -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");
|
||||
|
Loading…
x
Reference in New Issue
Block a user