commit 4f05b13f035c4c84baa47bf306f9e1190f208cb2
parent b376b7a3e4c9f94277156628fea8470a1c295e0e
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 16 May 2015 14:49:03 +0200
debug
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -172,6 +172,7 @@ function shortText($string,$lenght) {
$connection->close();
function deletePost($id) {
global $connection;
+ echo "ID: $id";
$sql = "DELETE FROM posts WHERE id='$id'";
if (mysqli_query($connection, $sql)) {
echo "Record deleted successfully";