summaryrefslogtreecommitdiffstats
path: root/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'index.php')
-rw-r--r--index.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/index.php b/index.php
index 562b59b..7561071 100644
--- a/index.php
+++ b/index.php
@@ -30,10 +30,10 @@ if ($accepted) {
include_once ('./includes/sqlEmbedded.php');
$sql = "
SELECT
- userData.wallColor,
- userData.wallEmblem
- FROM `userData`
- WHERE userID = '$userID' ";
+ users.wallColor,
+ users.wallEmblem
+ FROM `users`
+ WHERE ID = '$userID' ";
$result = mysql_query($sql);
if ($result)
list($wallColor, $wallEmblem) = mysql_fetch_row($result);