beginTrans(); $userdb = new UserDB(); $headline = $userdb->getHeadline($user->getUserId(), $trans->getPDO()); $location = $user->getLocation(); if (isset($_SESSION['tmpTags'])) { $tags = $_SESSION['tmpTags']; unset($_SESSION['tmpTags']); } else $tags = implode(', ', $userdb->getUserInterestTags($user->getUserId(), $trans->getPDO())); if (isset($_SESSION['tmpDescription'])) { $description = $_SESSION['tmpDescription']; unset($_SESSION['tmpDescription']); } else { if ($details = $userdb->getProfileDetails($user->getUserId(), $trans->getPDO())) $description = $details->getDescription(); } $trans->commit(); $trans->disconnect(); ?> Update Your Profile

Update Your Profile

ERROR! Sorry, there was a problem locating that zip code. Please try your zip code again, or enter a nearby zip code.

'; break; case 2: echo '

ERROR! Sorry, there was a problem with your interest tags. Please make sure you use only alphanumeric characters (no special symbols).

'; break; case 3: echo '

ERROR! Sorry, there was a problem with your description. Please make sure it is at least 200 characters long.

'; break; } } else { switch ($uswitch) { case 1: echo '

UPDATE: Your location has been updated. If there is anything else you want to change, go right ahead.

'; break; case 2: echo '

UPDATE: Your interest tags have been updated. If there is anything else you want to change, go right ahead.

'; break; case 3: echo '

UPDATE: Your description has been updated. If there is anything else you want to change, go right ahead.

'; break; case 4: echo '

UPDATE: Your profile details have been updated. If there is anything else you want to change, go right ahead.

'; break; default: echo '

From here you can make any changes you like to your profile. Just follow the instructions below.

'; } } ?>
Do you no longer live in getCity() .', '. $location->getState() ?>?


Would you like to update your interst tags?


Would you like to update your description?




Would you like to update your profile details?
If you want to change details such as education, income, or religion click here to do so. drawHeader($user); $ui->drawFooter(); ?>