Hi 2 all ., if you encrypted a password using md5 means ., there is no way to decrypt it ., so you need to use base64_decode and base64_encode

base64_encode code:
Code:
<?php
$str = 'This is an encoded string';
echo base64_encode($str);
?>
out put :VGhpcyBpcyBhbi BlbmNvZGVkIHN0c mluZw==

base64_decode code
Code:
<?php
$str = 'VGhpcyBpcyBhbiBlbmNvZGVkIHN0cmluZw==';
echo base64_decode($str);
...