This is my html code for my login page. If I echo the password in the same page, the password is echoed as is. How do I hide the password string so the password is displayed like ******* instead?
<div class="form">
    <div style="width:20%; float:left;"> </div>
        <div style="width:60%; padding:10px 10px 80px 10px; position:relative; margin-top: 6%; float: left;">
            <form action="login.php" method="post"> 
                <h2 style= color:orange; >Log In</h2>
                <h3 style=  color:orange;>User name:<input type="text" id="username" name="username" required></h3>
                <h3 style= color:orange; >User password:<input type="password" id="password" name="password" required></h3>
                <button type="submit" name="submit" value="Submit"  style= color:orange; >Login</button>
            </form>
        </div>
    if (!$conn) {
        die("Connection failed: " . mysqli_connect_error());
    }
    include('session.php');
    echo $Name = $_POST['username'];
    echo $psw  = $_POST['password'];
    $_SESSION["username"]=$Name ;
    if(mysql_errno() != 0) {
        echo "Query Failed".mysql_errno();
    }
    $row = mysqli_fetch_array($login);
    $password = $row['Pass_word'];
    if($password==$psw) {
        header('location:menu.php');
        exit();
        echo $Name;
    } else {
        echo "<h6 style='text-align:center; color:Red'> USERNAME AND PASSWORD DOES NOT MATCH </h6>";    
    }
}
mysqli_close($conn);
 
     
     
     
    