Sfoglia il codice sorgente

html hell

development
mauirixxx 8 anni fa
parent
commit
a34c19a999
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. +2
    -0
      gw-record.php

+ 2
- 0
gw-record.php Vedi File

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

Caricamento…
Annulla
Salva