$urlencusername = urlencode($bbuserinfo['username']); $htmlusername = htmlspecialchars($bbuserinfo['username']);