Re: Checking for valid login
| From: | Johannes Janson | Date: | Thu, 02 Aug 2001 10:47:46 +0000 |
| Subject: | Re: Checking for valid login | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-8626@lists.php.net to get a copy of this message | ||
Hi,
[...]
>This is my code.
>$check="select * from userinfo where username='$testusername' and
>password=password($'testpassword')";
here's thr problem: password=PASSWORD('$password')";
You messed up the single quotes.
cheers
Johannes