|
|
|
@@ -3,9 +3,8 @@ |
|
|
|
include_once 'gw-connect.php'; |
|
|
|
$con = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME); |
|
|
|
$toonid = mysqli_real_escape_string($con, $_POST['playerid']); //enable this after character selection is working |
|
|
|
//$toonid = '3'; //delete this line after character selection is finished/working |
|
|
|
#$location = mysqli_real_escape_string($con, $_POST['locationid']); //enable this after location selection is working |
|
|
|
$location = 4; //delete this line after location selection is finished/working |
|
|
|
$location = mysqli_real_escape_string($con, $_POST['locationid']); //enable this after location selection is working |
|
|
|
//$location = 4; //delete this line after location selection is finished/working |
|
|
|
$whatdropped = mysqli_real_escape_string($con, $_POST['gwdrop']); |
|
|
|
if ($con->connect_errno > 0){ |
|
|
|
die ('Unable to connect to database [' . $db->connect_errno . ']'); |
|
|
|
|