initial commit

This commit is contained in:
Luke Ogburn
2019-03-30 23:03:43 -04:00
commit 3d9e0c7717
29 changed files with 740 additions and 0 deletions

12
read/delete.php Normal file
View File

@@ -0,0 +1,12 @@
<?php
if($_GET["del"]){
$postID = $_GET["post"];
$stmt = $conn->prepare("DELETE FROM posts WHERE id = :id");
$stmt->bindParam(":id", $postID);
$stmt->execute();
header("Location: /500/read");
}
?>