diff --git a/gw-record.php b/gw-record.php index 0de4fb9..f075803 100644 --- a/gw-record.php +++ b/gw-record.php @@ -25,13 +25,20 @@ while ($row = $result->fetch_array()){ echo ' a '; #experimental stuff -echo '
'; -echo '
'; -echo '

Current drop value is: ' . $whatdropped . '

'; //if this works then it's time to make a big as if else statement +if ($whatdropped = "1"){ + echo 'run weapon code'; +} else if ($whatdropped = "2"){ + echo 'run material code'; +} else if ($whatdropped = "3"){ + echo 'run rune code'; +} else { + echo '
'; + echo '
'; +} //code for white blue purple etc $sqlweaprare = "SELECT * FROM `listrarity` ORDER BY `rareid` ASC";