瀏覽代碼

i always forget something

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

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

@@ -19,7 +19,7 @@ if ($droptype == 1){
}
} else if ($droptype == 2){
$matid = mysqli_real_escape_string($con, $_POST['rarematerials']);
$sqlmatin = "INSERT INTO `history` (historydate, charnameid, locationid, goldrec, material) VALUES ('$treasdate', $toonid, $locid, $gold, $matid)";
$sqlmatins = "INSERT INTO `history` (historydate, charnameid, locationid, goldrec, material) VALUES ('$treasdate', $toonid, $locid, $gold, $matid)";
if (!$result = $con->query($sqlmatins)){
die ('There was an error running the query [' . $con->error . ']');
}


Loading…
取消
儲存