Return database result with password only

0

Is it possible to return something from the MySQL database only with a "password"?

I have two names "so-and-so" and "cyano" so-and-so on 11/07, Fulano would have to put his name and the anniversary date to show something from the database, the same for the Cyclane.

<?php
include("connect.php");
$consulta = "SELECT * FROM nomes";
$con = $mysqli->query($consulta) or die($mysqli->error);
while($dado = $con->fetch_array()){
    echo "<table border=1 cellspacing=0 cellpadding=2";
    echo "<tr>";
    echo "<td width=100>";
    echo $dado["nome"] . " ";
    echo "</td>";
    echo "<td>";
    echo $dado["idade"] . " ";
    echo "</td>";
    echo "</tr>";
    echo "</table>";
}
?>
    
asked by anonymous 11.10.2015 / 01:20

0 answers