08-18-2016, 09:49 PM
$userQ = $db->query("SELECT * FROM profiles LEFT JOIN users ON user_id = users.id WHERE user_id = ?",array($userID));
$thatUser = $userQ->first();
However if the user has no entry in the profile table the users name never shows up on /users/profile.php?id=xx
you just get a "'s Profile" in the name area.
And I believe could be the reason the bio is not able to be updated.
This is the case for ADMIN created users ONLY, normal signup users are ok.
$thatUser = $userQ->first();
However if the user has no entry in the profile table the users name never shows up on /users/profile.php?id=xx
you just get a "'s Profile" in the name area.
And I believe could be the reason the bio is not able to be updated.
This is the case for ADMIN created users ONLY, normal signup users are ok.