diff --git a/gw-insert.php b/gw-insert.php index 7794dcd..70bd243 100644 --- a/gw-insert.php +++ b/gw-insert.php @@ -1,12 +1,21 @@ '; +if ($droptype == 1){ + $rarity = mysqli_real_escape_string($con, $_POST['rare']); + echo 'a '. $rarity . ' drop was a weapon!
'; +} else if ($droptype == 2){ + echo 'drop was a rare material!
'; +} else if ($droptype == 3){ + echo 'drop was a rune!
'; +} else { + echo 'No data was sent!
'; +} +# all of the below will go away soon echo 'The locid variable is set to ' . $locid . '
'; echo 'The amount of gold dropped was ' . $gold . '
'; echo '
Return to data recording page';