$education = $_REQUEST['education']; $height = $_REQUEST['height'] ? $_REQUEST['height'] : ''; $emp_status = $_REQUEST['emp_status'] ? $_REQUEST['emp_status'] : ''; $body_type = $_REQUEST['body_type'] ? $_REQUEST['body_type'] : ''; $first_lang = $_REQUEST['first_lang'] ? $_REQUEST['first_lang'] : ''; $spoken_lang = $_REQUEST['spoken_lang'] ? $_REQUEST['spoken_lang'] : ''; $smoker = $_REQUEST['smoker'] ? $_REQUEST['smoker'] : ''; $user = new Users(); $match = new Matches(); $message = new Messages(); if ($user_id) { $res = $user->registerStep2($user_id, $ethnic_origin, $sect, $marital_status, $marriage_plan, $grew_up, $lives_in, $residency_status, $occupation, $education, $height, $emp_status, $body_type, $first_lang, $spoken_lang, $smoker); if ($res) { $profile = $user->getUserProfile($user_id); $messages = $message->getUserMessages($user_id); $matches = $match->getUserMatches($user_id); $profile_2 = $user->getStep2RegisterData($user_id); $basic_info = $user->getUserBasicInfo($user_id); $partner_pref = $user->getPartnerPref($user_id); $user_appearance = $user->getUserAppearance($user_id); $education = $user->getUserEducation($user_id); $religion = $user->getUserReligion($user_id); $family = $user->getUserFamilyInfo($user_id); $health = $user->getUserHealthInfo($user_id); $location = $user->getUserLocationInfo($user_id); $hobbies = $user->getUserHobbyAndInterest($user_id); $verification_status = $user->getUserIdVerificationStatus($user_id); $success = '1'; $msg = 'partner prefrences set'; } else { $success = '0';