瀏覽代碼

broke sql again

development
mauirixxx 8 年之前
父節點
當前提交
31a59499af
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      gw-create.php

+ 1
- 1
gw-create.php 查看文件

@@ -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 . ']');
}


Loading…
取消
儲存