Display Encrypted password

by kalai 2008-04-25 20:07:50

Code to display encrypted password


$query = "SELECT * FROM Member WHERE user='$name'";
$result = mysqli_query($cxn,$query)
or die ("Couldn't execute query.");


while($row = mysqli_fetch_assoc($result))
{
echo "<input type='text' name='password' value='".md5($row[password])."'>";
}

Tagged in:

3263
like
0
dislike
0
mail
flag

You must LOGIN to add comments