Parcourir la source

trying a different method

development
mauirixxx il y a 8 ans
Parent
révision
daed635cb6
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      gw-pull.php

+ 1
- 1
gw-pull.php Voir le fichier

@@ -10,7 +10,7 @@ if (!$result = $con->query($sql)){
die ('There was an error running the query [' . $con->error . ']'); die ('There was an error running the query [' . $con->error . ']');
} }
while ($row = $result->fetch_array()){ while ($row = $result->fetch_array()){
if ($row['charname'] == ''){
if (is_null($row['charname'])){
echo 'No data available for $cnameid'; echo 'No data available for $cnameid';
} else { } else {
echo 'On ' . $row['historydate'] . ', "' . $row['charname'] . '" got ' . $row['goldrec'] . 'GP and '; echo 'On ' . $row['historydate'] . ', "' . $row['charname'] . '" got ' . $row['goldrec'] . 'GP and ';


Chargement…
Annuler
Enregistrer