I used the password function to store a encrypted password in my database and now i want to be able to open that encryption for and admin section.
originally used this built in encryption for mySQL database
password('my_password');
here is a shorten clip of my code so you can see what i mean.
I am trying to pull the unencrypted password out
//....
$query = "SELECT * FROM my_table WHERE id = '$id'";
$result = mysql_query($query, $conn);
while ($row = mysql_fetch_array($result))
{
echo "$row['pass'];
}
can i pull the this out somehow so my admin page can view the entered password or is this a permanent fix.
thanks for your time.