0) { $upd=mysql_query("update eindia_member_master set password='$npass' where user_id='$sitename' and password='$opass'"); $remark="change password from ".$opass." to ".$npass; $history=mysql_query("insert into cms_login_history set comp_id='$companyid',remarks='$remark',log_on=now()"); $url="changepassword.html?msg=done"; header("location:$url") or die("error 1"); } else { $url="changepassword.html?msg=wrong"; header("location:$url") or die("error 2"); } } } ?> Online Catalogs
CHANGE PASSWORD


Your Password has been changed Successfully"; } if($msg=='wrong') { echo "Your Old Password has been Not Matched"; } ?>
Old Password
New Password
Confirm Password