瀏覽代碼

would help if rune code was actually in rune section

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

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

@@ -18,11 +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 />';
} else if ($droptype == 3){
$runeid = mysqli_real_escape_string($con, $_POST['runeid']);
$runerare = mysqli_real_escape_string($con, $_POST['runerarity']);
echo "SQL code should be \"INSERT INTO `history` (historydate, charnameid, locationid, goldrec, itemtype, itemrarity, runetype) VALUES (\'$treasdate\', $toonid, $locid, $gold, \'16\', $runerare, $runeid)\" <BR />";
echo 'drop was a rare material!<BR />';
} else if ($droptype == 3){
echo 'drop was a rune!<BR />';
} else {
echo 'No data was sent!<BR />';


Loading…
取消
儲存