= $low_cr and challenge_rating <= $high_cr AND ("; foreach($type as $monster_type) { $query .= "type like '$monster_type' OR "; } $query = preg_replace("/ OR $/",");",$query); $result = query($query); if (mysql_num_rows($result) > 0) { while ($ss = mysql_fetch_object($result)) { echo "name&lit=on\" target=_new>$ss->name
"; } } } echo "
"; echo ""; echo ""; echo ""; $query ="SELECT name from rpg_ref_monster_type;"; $result = query($query); $wack = 0; while ($ss=mysql_fetch_object($result)) { echo ""; $wack++; if ($wack % 3 == 0) { echo ""; } } echo "
Low CR:High CR:
name\">$ss->name
"; if (isset($low_cr)) { show_list(); } ?> l>