Browse Source

broke sql again

development
mauirixxx 8 years ago
parent
commit
31a59499af
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      gw-create.php

+ 1
- 1
gw-create.php View File

@@ -38,7 +38,7 @@ if ($createnew === "1"){
echo '<BR /><BR />Return to <A HREF="gw-index.php" CLASS="navlink">home</A>.</CENTER></BODY></HTML>'; echo '<BR /><BR />Return to <A HREF="gw-index.php" CLASS="navlink">home</A>.</CENTER></BODY></HTML>';
exit(); 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)){ if (!$resultcreate = $con->query($sqlcreate)){
die ('There was an error running the query [' . $con->error . ']'); die ('There was an error running the query [' . $con->error . ']');
} }


Loading…
Cancel
Save