Create send_thread.php
diff --git a/php/send_thread.php b/php/send_thread.php
new file mode 100644
index 0000000..4a0c1d0
--- /dev/null
+++ b/php/send_thread.php
@@ -0,0 +1,15 @@
+<?php
+ require '../credentials.php';
+ require 'utils.php';
+
+ $credentials = new Credentials();
+
+ $victimid = $_POST["victim-id"];
+ $killerid = $_POST["killer-id"];
+ $msgcontent = $_POST["msg-content"];
+
+ $template = "INSERT INTO messages VALUES (NULL, $killerid, $victimid, NULL, $msgcontent)";
+ if (!query($template)) die("An error ocurred." . $template);
+
+ header("Location: http://pastanagapp2020.mygamesonline.org/main.php");
+?>