i need to create a log in that connect to an access database to retrieve the passwords. i have created a log in and can enter a password but i don't know how to connect it to the database to get the password from there instead. this is the code i have: PHP: <?php $ActualPassword= "secret"; if ($_POST["PasswordGuess"] == $ActualPassword) { session_start(); $_SESSION["Authorised"] = "Y"; header("Location: index.php"); } else header("Location: wrongpassword.php"); ?> can anyone help please?