I am using DES_ENCRYPT method to store password to MySQL. This is working, but when I retrieve by DES_DECRYPT I get the HTML character references for certain symbols. For example I stored & by encrypting, but while decrypting I get &. How to handle this so that I only get & after decryption and not & If there is any other better direct method i can use that but in either case I need the real password stored.
I am using DES_ENCRYPT method to store password to MySQL. This is working, but
Share
As @Carlos said
phpmyadminis probably html-encoding the html entities before showing is true. This is true. There is no problem with the function. When i decrypt from outsidephpmyadminthe password is decrypted properly. I made the mistake earlier i tried to directly do it from the admin panel and now i am running it from the script outside the admin panel.