Quellcode durchsuchen

shoudl be able to record dropped material now

development
mauirixxx vor 8 Jahren
Ursprung
Commit
029d0bce28
1 geänderte Dateien mit 5 neuen und 1 gelöschten Zeilen
  1. +5
    -1
      gw-insert.php

+ 5
- 1
gw-insert.php Datei anzeigen

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


Laden…
Abbrechen
Speichern