From 31a59499afac844fa98bc5f990498bf68e19b081 Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Tue, 30 May 2017 16:26:36 -1000 Subject: [PATCH] broke sql again --- gw-create.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 . ']'); }