Re: Trying to e-mail password
| From: | Ernest E Vogelsinger | Date: | Wed, 13 Nov 2002 00:11:26 +0000 |
| Subject: | Re: Trying to e-mail password | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-124106@lists.php.net to get a copy of this message | ||
At 01:09 13.11.2002, Ben C. said:
--------------------[snip]--------------------
>I am trying to have a form that send a user their email and password to
>login. I am using the following:
>
>while ($row = mysql_fetch_array($result)) {
> $email = $row['email'];
> $password = $row['password(password)'];
>
>When I use the mail() function to send both $email and $password I receive
>an e-mail with a blank password.
>
>What am I doing wrong. Please help!
--------------------[snip]--------------------
I assume that the column holding the password is simnply named 'password',
not 'password(password)'.
while ($row = mysql_fetch_array($result)) {
$email = $row['email'];
$password = $row['password'];
--
>O Ernest E. Vogelsinger
(\) ICQ #13394035
^ http://www.vogelsinger.at/