ソースを参照

if the toonhas no data, let someone know

development
mauirixxx 8年前
コミット
4f953bb0f8
1個のファイルの変更9行の追加5行の削除
  1. +9
    -5
      gw-pull.php

+ 9
- 5
gw-pull.php ファイルの表示

@@ -10,12 +10,16 @@ if (!$result = $con->query($sql)){
die ('There was an error running the query [' . $con->error . ']');
}
while ($row = $result->fetch_array()){
echo 'On ' . $row['historydate'] . ', "' . $row['charname'] . '" got ' . $row['goldrec'] . 'GP and ';
if (is_null($row['material'])) {
echo 'a ' . $row['itemrarity'] . ' req' . $row['itemreq'] . ' ' . $row['itemattribute'] . ' ' . $row['itemtype'] . ' named something stupid <BR />';
if ($row['charname'] == ''){
echo 'No data available for $cnameid';
} else {
echo 'a ' . $row['material'] . '!<BR />';
} //add another else statement to cover RUNES here
echo 'On ' . $row['historydate'] . ', "' . $row['charname'] . '" got ' . $row['goldrec'] . 'GP and ';
if (is_null($row['material'])) {
echo 'a ' . $row['itemrarity'] . ' req' . $row['itemreq'] . ' ' . $row['itemattribute'] . ' ' . $row['itemtype'] . ' named something stupid <BR />';
} else {
echo 'a ' . $row['material'] . '!<BR />';
} //add another else statement to cover RUNES here
}
}
?>



読み込み中…
キャンセル
保存