I am learning PDO and now I have a problem with my code but I am not able to find that out. It is not showing the result. Please point out my mistake.
$user=mysqli_real_escape_string($mysqli, strip_tags($_POST['username']));
$pass=mysqli_real_escape_string($mysqli, strip_tags($_POST['password']));
$que1="SELECT * FROM `users` WHERE `Email`=?";
$result = $mysqli->prepare($que1);
$result->bind_param(1, $user);
$result->execute();
$row = $result->fetch(PDO::FETCH_ASSOC);
echo $row["user_id"];