diff --git a/includes/config.php b/includes/config.php index 11df16f..940542f 100644 --- a/includes/config.php +++ b/includes/config.php @@ -12,6 +12,7 @@ while ($line = mysqli_fetch_array($result)) { } $query = 'SELECT * FROM pqs_pods'; $result = mysqli_query($link, $query) or die('Query failed: ' . mysqli_error($link)); + $line = mysqli_fetch_array($result); // was missing: pod vars below read a stale row $pod01 = $line[0]; $pod02 = $line[1]; $pod03 = $line[2];