$userID= $_GET[‘profileID’];
$userArray = getUserData($userID);
if ($userArray[“Error”] == ‘y’) {
// something failed
header(“Location: http://www.bearsbikersandmayhem.com/”);
}
else {
echo “Welcome ” . $userArray[“FirstName”] . ” ” . $userArray[“LastName”] . “
“;
echo “This page allows you to upload a profile picture for the Event. This picture will be printed on your badge.
“;
if ($userArray[“UserPicture”] != ”) {
$picLoc = “/event/wp-content/uploads/profiles/” . $userArray[“UserPicture”];
echo “Current Picture:
“;
echo ““;
}
}