RE: [PHP] Password checking
| From: | Wee Chua | Date: | Tue, 05 Sep 2000 13:51:24 +0000 |
| Subject: | RE: [PHP] Password checking | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-15295@lists.php.net to get a copy of this message | ||
Hi Julie and all,
I tried your solution but it is still not working. I tried to take away
($row["password"] == "$password") and rest works fine. I don't what is
wrong with my ($row["password"] == "$password") statement, please help!
Thanks in advance.
Calvin
-----Original Message-----
From: Julie Meloni [mailto:julie@thickbook.com]
Sent: Tuesday, September 05, 2000 9:59 AM
To: Wee Chua
Cc: MySQL (E-mail); PHP (E-mail)
Subject: Re: [PHP] Password checking
> if (($row["user"] == $username) and (($row["password"]) == $password) and
> ($username !=""))
Try:
if (($row["user"] == "$username") && ($row["password"] ==
"$password")
&& ($username != ""))
- julie
+------------------------------------------------+
| Julie Meloni (jcm@i2ii.com) |
| Tech. Director, i2i Interactive (www.i2ii.com) |
| |
| "PHP Essentials" & "PHP Fast & Easy" |
| http://www.thickbook.com/ |
+------------------------------------------------+
--
---------------------------------------------------------------------
Please check "http://www.mysql.com/php/manual.php"
before
posting. To request this thread, e-mail mysql-thread49757@lists.mysql.com
To unsubscribe, send a message to:
<mysql-unsubscribe-Chua=mail.interclean.com@lists.mysql.com>
If you have a broken mail client that cannot send a message to the above
address(Microsoft Outlook), you can use
http://lists.mysql.com/php/unsubscribe.php