diff --git a/twits.php b/twits.php index 429f467d9d039c46d80c13b3275e5666f79687c9..ec31f8dcf41ce76e39a06c2dedd7206692d7288d 100644 --- a/twits.php +++ b/twits.php @@ -62,7 +62,6 @@ if ((isset($post_title) && $post_title != null) && (isset($post_body) && $post_b $user_id = $obj->getUserIdByEmail($obj, $_SESSION['logged_user']); $query = "INSERT INTO posts VALUE (null,'$post_title','$post_body', '$post_url_image',CURRENT_TIMESTAMP, '$user_id', 1);"; - echo $query; $result = $obj->executeQuery($query); // refresh session time