Hello
I have written a liitle script to email someone the password that they have forgotten (like everyone does)
Problem is it is sending the scrambled password in the file even when I use password() on it!
I must be doing something wrong!
here is the code:
$row = mysql_fetch_array($result, MYSQL_ASSOC);
extract($row);
$pass_wd = password('$pass');
mysql_close();
then in the email:
<tr><td><p><br>
This is the password that you choose<br>
<b>Password: $pass_wd </b><br>
The script errored with :
Call to undefined function: password() in blah blah
I use the fuction fine when inserting the new record so I dont get why I cant use it here ?
Please help...
thanks david