blob: 86f25987e99d5e09b1c64ab9c0f300f10e4ef203 [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, CURRENT_TIMESTAMP, '$msgcontent')";
if (!query($template)) die("An error ocurred." . $template);
header("Location: http://pastanagapp2020.mygamesonline.org/main.php");
?>