blob: 1c84caf372aaaf24b57c9b60eb53f285c67bc7f8 [file] [log] [blame]
<?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");
?>