Update file upload.php
This commit is contained in:
parent
1102908142
commit
2f80bcbfa0
@ -22,7 +22,6 @@ if(isset($_POST['page-content'])) {
|
|||||||
$upload->bindParam(':filename', $filename);
|
$upload->bindParam(':filename', $filename);
|
||||||
$upload->bindParam(':titre', htmlspecialchars($_POST['titre']));
|
$upload->bindParam(':titre', htmlspecialchars($_POST['titre']));
|
||||||
$upload->bindParam(':auteur', $_SESSION['display_name']);
|
$upload->bindParam(':auteur', $_SESSION['display_name']);
|
||||||
$upload->bindParam(':date', date("Y-m-d"));
|
|
||||||
if($upload->execute()) {
|
if($upload->execute()) {
|
||||||
$status = "Article Publié";
|
$status = "Article Publié";
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user