瀏覽代碼

shoudl be able to record dropped material now

development
mauirixxx 8 年之前
父節點
當前提交
029d0bce28
共有 1 個文件被更改,包括 5 次插入1 次删除
  1. +5
    -1
      gw-insert.php

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

@@ -18,7 +18,11 @@ if ($droptype == 1){
die ('There was an error running the query [' . $con->error . ']');
}
} else if ($droptype == 2){
echo 'drop was a rare material!<BR />';
$matid = mysqli_real_escape_string($con, $_POST['rarematerials']);
$sqlmatin = "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 . ']');
}
} else if ($droptype == 3){
$runeid = mysqli_real_escape_string($con, $_POST['rune']);
$runerare = mysqli_real_escape_string($con, $_POST['runerarity']);


Loading…
取消
儲存