[Solved] isset(SESSION[‘user’]) not working [closed]
[ad_1] see this post for how to handle passwords… it uses mysqli but you should be able to easily see how it would work with pdo. https://stackoverflow.com/a/26321573/623952 insert your passwords like this: $password_to_insert_into_db = password_hash($plaintext_password, PASSWORD_BCRYPT); I changed variable names and things. b/c it was easier for me. <?php session_start(); // for my testing… $_POST[‘username’] … Read more