hi why do you want to show the user his/her previous password ?? md5() provides only encyption, but not decryption. I think you don't need it anyway. Just let the user enter his/her password, before saving a new one . greets PHP Data object relational mapping generator - http://www.meta-language.net/ Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/php-objects/ <*> To unsubscribe from this group, send an email to: php-objects-unsubscribe@xxxxxxxxxxxxxxx <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/