commit afd21662f3400bbbf56dd7532bf57b07e0321ffa
parent 95e74cbb1077a7ce103332fabc736cb4bee0eb04
Author: MTRNord <mtrnord1@gmail.com>
Date: Sat, 16 May 2015 14:26:26 +0200
i failed the debug
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/backend/blog/posts.php b/core/backend/blog/posts.php
@@ -179,7 +179,7 @@ function shortText($string,$lenght) {
function deletePost($id) {
global $connection;
$sql = "DELETE FROM posts WHERE id='$id'";
- echo "connection";
+ echo "connection: $connection";
if (mysqli_query($connection, $sql)) {
echo "Record deleted successfully";
} else {