Change Password
= $error ?>
prepare(" UPDATE teachers SET password_hash = ?, must_change_password = 0 WHERE id = ? "); $stmt->execute([ $password_hash, $_SESSION['teacher_id'] ]); header("Location: /rs_lab/teacher/dashboard.php"); exit; } } ?>
= $error ?>