Hi,
Yes,there is no way you can decrypt the password encrypted using PASSWORD() function.
If you want to save the password encrypted in your MySQL database the password field must be of BLOB data type.
You can use the ENCODE and DECODE functions to ENCRYPT and DECRYPT
Here is how you can do it
Ex table: users
Name(VARCHAR) Pwd(BLOB)
To ENCRYPT
$qry="insert into users values('$name',ENCODE('$password','sweetie'))";
Here "sweetie" is my password to DECRYPT.
Note that this PASSWORD is your password to ENCRYPT and DECRYPT not users.
To DECRYPT
$qry="select DECODE(Pwd,'sweetie') as Password from users";
Pwd--is the field name in database
Notice that you need to use your password(which has been used to encrypt) to DECODE
The rest is as usual........
Hope this gives you an idea....