Hello. I have some info in a table that is MD5 encryped. How do i display the info from the table so that it displays regularly? I tried this:
and that just displayed it with the encryption...PHP Code:<? include("includes/conn.php"); ?>
<?php
//build our query
$query = "SELECT * FROM `members` WHERE member_id=151 LIMIT 1";
$query = mysql_query($query) or die(mysql_error());
//loop through each record
while($array = mysql_fetch_array($query)) {
//print out the field values and values using print_r
print_r($array['member_email']."<br>");
$password = $array['member_password'];
echo MD5($password);
}
?>




Reply With Quote