소스 검색

checking out multiple different sql selects

maybe it'll work, maybe it wont ...
development
mauirixxx 8 년 전
부모
커밋
5a78cf397e
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. +10
    -0
      gw-record.php

+ 10
- 0
gw-record.php 파일 보기

@@ -15,4 +15,14 @@ while ($row = $result->fetch_array()){
$weapattr = $row['weaponattribute'];
echo '<OPTION VALUE="' . $attrid . '">' . $weapattr . '</OPTION>';
}
$sqlweaprare = "SELECT * FROM `listrarity` ORDER BY `rareid` ASC";
if (!$result = $con->query($sqlweaprare)){
die ('There was an error running the query [' . $con->error . ']');
}
echo ' <SELECT NAME="rarity">';
while ($row = $result->fetch_array()){
$rareid = $row['rareid'];
$rarity = $row['rarity'];
echo '<OPTION VALUE="' . $rareid . '">' . $rarity . '</OPTION>';
}
?>

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