Ver código fonte

broke sql again

development
mauirixxx 8 anos atrás
pai
commit
31a59499af
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      gw-create.php

+ 1
- 1
gw-create.php Ver arquivo

@@ -38,7 +38,7 @@ if ($createnew === "1"){
echo '<BR /><BR />Return to <A HREF="gw-index.php" CLASS="navlink">home</A>.</CENTER></BODY></HTML>';
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 . ']');
}


Carregando…
Cancelar
Salvar