소스 검색

found the missing closure

development
mauirixxx 8 년 전
부모
커밋
2c4219107a
1개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. +4
    -4
      gw-insert.php

+ 4
- 4
gw-insert.php 파일 보기

@@ -9,11 +9,11 @@ $toonid = mysqli_real_escape_string($con, $_POST['chartoon']; //this is the id o
if ($droptype == 1){
$rarity = mysqli_real_escape_string($con, $_POST['rare']);
$req = mysqli_real_escape_string($con, $_POST['requirement']);
$attrib = mysqli_real_escape_string($con, $_POST['attribute'];
$attrib = mysqli_real_escape_string($con, $_POST['attribute']);
$weap = mysqli_real_escape_string($con, $_POST['weapon']);
//$itname = mysqli_real_escape_string($con, $_POST['itemname']);
//echo 'SQL code to run: "INSERT INTO `history` (historydate, charnameid, locationid, goldrec, itemreq, itemtype, itemattribute, itemrarity, itemname) VALUES (\'$variable-date-of-treasure\', ' . $toonid . ', ' . $locid . ', ' . $gold . ', ' . $req . ', ' . $weap . ', '$variable-attribute-of-weapon', '$variable-rarity-of-weapon', '$variable-name-of-weapon');"';
echo 'Well something broke somewhere!<BR />';
$itname = mysqli_real_escape_string($con, $_POST['itemname']);
echo 'SQL code to run: "INSERT INTO `history` (historydate, charnameid, locationid, goldrec, itemreq, itemtype, itemattribute, itemrarity, itemname) VALUES (\'$variable-date-of-treasure\', ' . $toonid . ', ' . $locid . ', ' . $gold . ', ' . $req . ', ' . $weap . ', '$variable-attribute-of-weapon', '$variable-rarity-of-weapon', '$variable-name-of-weapon');"';
echo '<BR />Well something broke somewhere!<BR />';
} else if ($droptype == 2){
echo 'drop was a rare material!<BR />';
} else if ($droptype == 3){


불러오는 중...
취소
저장