include_once("dbconnection.php"); $email = $_POST["mail"]; $hashedpass = password_hash($_POST["password"],PASSWORD_DEFAULT); $loginquery = $conn->prepare("SELECT mail,password FROM register_form WHERE mail= :email and password= :hashedpass "); $loginquery->bindParam(':email',$email,PDO::PARAM_STR); $loginquery->bindParam(':hashedpass',$hashedpass,PDO::PARAM_STR); $loginquery->execute(); $result = $loginquery->fetchAll(); print_r($result);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)