Guest User

Untitled

a guest
Jul 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.86 KB | None | 0 0
  1. if($user_profile_pic_name == ''){
  2. $ipq = "UPDATE `abc` SET `abc_email`= '$user_email', `abc_pwd`= '$user_pass', `abc_looking_for` = '$looking_for', `abc_for_my` = '$for_my', `abc_gender` = '$gender', `abc_marital_status` = '$marital_status', `abc_category` = '$proposal_category', `abc_disability` = '$disability', `abc_disability_details` = '$disability_details', `abc_full_name` = '$user_fullname', `abc_age` = '$user_age', `abc_height` = '$user_height', `abc_nationality` = '$nationality', `abc_residence` = '$residence', `abc_city` = '$city', `abc_hometown` = '$hometown', `abc_religion` = '$religion', `abc_main_sect` = '$religion_main_sect', `abc_sub_sect` = '$religion_sub_sect', `abc_caste` = '$caste', `abc_degree_level` = '$deglev', `abc_program` = '$program', `abc_profession` = '$profession', `abc_cnic_pass` = '$user_cnic_passport', `abc_fb_link` = '$user_fblink', `abc_bio` = '$biography', `abc_required_age` = '$req_age', `abc_required_height` = '$req_height', `abc_required_caste` = '$req_caste', `abc_required_detail` = '$req_specific_requirement', `abc_hobbies` = '$hobbies', `abc_siblings` = '$siblings', `abc_siblings_marital_status` = '$siblings_marital_status', `abc_father_occupation` = '$father_occu', `abc_mother_occupation` = '$mother_occu', `abc_mobile_number` = '$mobile_number', `abc_phone_number` = '$phone_number', `abc_office_number` = '$office_number', `abc_register_date` = '$reg_date', `abc_amount_paid` = '$reg_paid', `abc_remaining` = '$reg_remaining', `abc_status` = '$account_status', `abc_paid_status` = '$paid_status' WHERE abc_id = '$update_id'";
  3. $rpq = mysqli_query($con, $ipq);
  4. if($rpq){
  5. header("location: edit-user.php?edit_id=$update_id&success=" . urlencode("Successfully updated."));
  6. exit();
  7. }
  8. else{
  9. header("location: edit-user.php?edit_id=$update_id&error=" . urlencode("Sorry, cannot update right now."));
  10. exit();
  11. }//ipq query ends here
Add Comment
Please, Sign In to add comment