diff --git a/gw-create.php b/gw-create.php index 9160161..71aa505 100644 --- a/gw-create.php +++ b/gw-create.php @@ -38,7 +38,7 @@ if ($createnew === "1"){ echo '

Return to home.'; exit(); } - $sqlcreate = "INSERT INTO `playername` (charname, birthdate, userid, professionid, profcolor) VALUES ('$cname', '$bdate', $userid, $profid, $profcolor)"; + $sqlcreate = "INSERT INTO `playername` (charname, birthdate, userid, professionid, profcolor) VALUES ('$cname', '$bdate', $userid, $profid, '$profcolor')"; if (!$resultcreate = $con->query($sqlcreate)){ die ('There was an error running the query [' . $con->error . ']'); }