title: Getting MD5 codes from database and decoding it in PHP
body: <blockquote>
    <p><strong>Possible Duplicates:</strong><br>
    <a href="https://stackoverflow.com/questions/4428443/i-have-md5-encrypted-password-how-to-give-the-password-to-user-when-he-uses-for">I Have md5 encrypted password, how to give the password to user when he uses &ldquo;Forgot password&rdquo;?</a><br>
    <a href="https://stackoverflow.com/questions/2780198/phphow-to-send-the-original-password-to-the-user-when-he-clicks-forgot-password">PHP:How to send the original password to the user when he clicks forgot password which is encrypted by using md5?</a>  </p>
  </blockquote>
  
  
  
  <p>I do not know is it the right way to ask this question but I am implementing my own membership script in PHP and right now, I am stuck with the retrieving the MD5 codes from database. OK, I insert the user info to the database and because of the security issues I encrypted the password before saving it to database but my question is that when I try to create a forget your password stuff, how can I get the unencrypted password from the database. By the way I use MySQL and my question is not about inserting or retrieving data from database, I only ask how can I reverse the MD5 thing. Thanks in advance!</p>