diff --git a/editpost.php b/editpost.php index 44f5eb6..9dc25b5 100644 --- a/editpost.php +++ b/editpost.php @@ -22,7 +22,25 @@ $body = mysqli_real_escape_string($conn,$_POST['body']); $author = mysqli_real_escape_string($conn,$_POST['author']); - + $query = "UPDATE post SET title='$title', @@ -88,4 +106,4 @@ - \ No newline at end of file +