Here is the attached archive: https://yadi.sk/d/Y6akoinZ3Rzv4r . In the attached archive project. The problem itself is in the pass_change.php file, which is associated with the user.php file. When I click change password, it does not change in the database, and the page is clearly reloading.
Here is a piece of code for updating the password in the database:
$result4 = mysqli_query($link,"UPDATE users SET password='$password' WHERE login='".$_SESSION['login']."'"); //обновляем пароль if ($result4=='TRUE') { //если верно, то обновляем его в сессии $_SESSION['password'] = $password; } }