title: Login issue using password hash and password verify in php
body: <p><strong>Signup code:</strong></p>
  
  <pre><code>    $first_name = $_POST['first_name'];
      $last_name = $_POST['last_name'];
      $email = $_POST['email'];
      $password = $_POST['password'];
      $hashed_password = password_hash($password, PASSWORD_DEFAULT);
      $contact = $_POST['contact'];
      $address = $_POST['address'];
  
      $query = "INSERT INTO `tbl_user`(`first_name`, `last_name` , `email` , `password`,`contact`, `address`) VALUES
          ('$first_name','$last_name','$email','$hashed_password','$contact','$address')";
      $sql = mysqli_query($con,$query);
  </code></pre>
  
  <p><strong>Login code :</strong></p>
  
  <pre><code>    $email = $_POST['email'];
      $password = $_POST['password'];
      $query = "SELECT * FROM `tbl_user` WHERE `email` = '$email'";
      $sql = mysqli_query($con,$query);
      $row = mysqli_fetch_array($sql);
      if (password_verify('$password', $row['hashed_password'])) {
          echo 'Password is valid!';
      } else {
          echo 'Invalid password.';
      }
  </code></pre>
  
  <p>But everytime it is showing Invalid Password even if i enter the correct credentials.</p>