From ed975cffd68670d15c73a1e9aa574f2f76142c8d Mon Sep 17 00:00:00 2001 From: mauirixxx Date: Wed, 17 May 2017 23:55:42 -1000 Subject: [PATCH] and something else to try script errors out with blank page if the toon doesn't have any data in the DB --- gw-pull.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gw-pull.php b/gw-pull.php index 23d75ca..69d1b17 100644 --- a/gw-pull.php +++ b/gw-pull.php @@ -11,7 +11,7 @@ if (!$result = $con->query($sql)){ } while ($row = $result->fetch_array()){ if (is_null($row['charname'])){ - echo 'No data available for $cnameid'; + echo 'No data available for "$cnameid"'; } else { echo 'On ' . $row['historydate'] . ', "' . $row['charname'] . '" got ' . $row['goldrec'] . 'GP and '; if (is_null($row['material'])) {