|
|
|
@@ -3,7 +3,6 @@ include_once 'gw-connect.php'; |
|
|
|
$con = new mysqli(DATABASE_HOST, DATABASE_USER, DATABASE_PASS, DATABASE_NAME); |
|
|
|
$userid = 1; //need to actually pull this info from cookie/session (preferable) |
|
|
|
$whattoon = mysqli_real_escape_string($con, $_POST['cnameid']); |
|
|
|
//$nameoftoon = mysqli_real_escape_string($con, $_POST['charactername']); |
|
|
|
if ($con->connect_errno > 0){ |
|
|
|
die ('Unable to connect to database [' . $db->connect_errno . ']'); |
|
|
|
} |
|
|
|
|