blob: 4a0c1d0817a1a0a4e3373a67f95cd389d598fde6 [file] [log] [blame]
Andreu Huguetfc1e8332020-09-15 18:21:12 +02001<?php
2 require '../credentials.php';
3 require 'utils.php';
4
5 $credentials = new Credentials();
6
7 $victimid = $_POST["victim-id"];
8 $killerid = $_POST["killer-id"];
9 $msgcontent = $_POST["msg-content"];
10
11 $template = "INSERT INTO messages VALUES (NULL, $killerid, $victimid, NULL, $msgcontent)";
12 if (!query($template)) die("An error ocurred." . $template);
13
14 header("Location: http://pastanagapp2020.mygamesonline.org/main.php");
15?>