/home/u775757334/domains/civicwelllife.com/public_html/admin/loginQuery
Edit: /home/u775757334/domains/civicwelllife.com/public_html/admin/loginQuery/changePassword.php (942B)
0)
{
//echo "change password";
$sqladd = mysqli_query($conn,"update $tblAdmin set password = '$pass' where email = '$username'") or die(mysqli_error($conn));
if(mysqli_affected_rows($conn) > 0)
{
//header('Location: ../dashboard.php?option=chngpswd&m=1');
echo "yes";
}
else
{
//header('Location: ../dashboard.php?option=chngpswd&m=2');
echo "not update";
}
}
else
{
echo "current password wrong.";
//header('Location: ../dashboard.php?option=chngpswd&m=3');
}
?>