-
Friends (2)
-
+ prepare(str_replace('allStar', 'count(*)', $sql));
+ $q->execute();
+ $numberOfGames = $q->fetchColumn();
+ $q = $con->prepare(str_replace('allStar', '*', $sql));
+ $q->execute();
+ if ($numberOfGames >= 1) {
+ while ($usr = $q->fetch()) { ?>
-
-
+
diff --git a/user.php b/user.php
index ff356b8..0ba357a 100644
--- a/user.php
+++ b/user.php
@@ -42,7 +42,7 @@ $getitstarted->header();