diff --git a/php/structure/users.php b/php/structure/users.php index 0735aef..caaf92d 100644 --- a/php/structure/users.php +++ b/php/structure/users.php @@ -18,9 +18,21 @@ # commented it out because we don't actually want it to be fatal } - echo "
"; - var_dump($results->fetchAll(PDO::FETCH_ASSOC)); - echo ""; + if (isset($results) && $results) { + $users = $results->fetchAll(PDO::FETCH_ASSOC); + echo "