I cannot get this here to work for some odd reason. I have a php function that takes the values from the inputs and test attempts to login the user. The problem seems to be happening when the password_verify method is called. I did research, but with success. Code below
function login($_email, $_pass){
    global $con;
    $query = "SELECT * FROM users WHERE user_email = '$_email'";
    $results = mysqli_query($con, $query) or die("Connection could not be established");
    if (mysqli_num_rows($results) == 1){
        $row = mysqli_fetch_assoc($results);
        $hased_pass = $row['user_pass'];
        if (password_verify($_pass, $hased_pass)){
            $_SESSION['name'] = $row['user_name'];
            $_SESSION['email'] = $row['user_email'];
            return true;    
        }
    }
    //soft_logout();
    return false;
}
My php version is 5.5.20
 
     
    