Fixed cometes bug
diff --git a/php/send_thread.php b/php/send_thread.php
index 86f2598..ddeb60a 100644
--- a/php/send_thread.php
+++ b/php/send_thread.php
@@ -8,7 +8,7 @@
$killerid = $_POST["killer-id"];
$msgcontent = $_POST["msg-content"];
- $template = "INSERT INTO messages VALUES (NULL, $killerid, $victimid, CURRENT_TIMESTAMP, '$msgcontent')";
+ $template = "INSERT INTO `missatges` (`id`, `sender_id`, `receiver_id`, `timestamp`, `content`) VALUES (NULL, $killerid, $victimid, CURRENT_TIMESTAMP, '$msgcontent')";
if (!query($template)) die("An error ocurred." . $template);
header("Location: http://pastanagapp2020.mygamesonline.org/main.php");