require_once('./includes/functions_user.php'); $userid = $user['userid']; $avatarurl = fetch_avatar_url($userid);