blob: 4a0c1d0817a1a0a4e3373a67f95cd389d598fde6 [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");
?>