password---simple questions but...
| From: | Hadi | Date: | Tue, 23 Dec 2003 15:04:58 +0000 |
| Subject: | password---simple questions but... | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-32175@lists.php.net to get a copy of this message | ||
Hi, all
please help me in this, Iam using MYSQL , my colomn is password varchar(12)
>insert into tablepassword values ('',password('def'));
it is executed, (select * from tablepassword) showing the password is
hashed, and then to view the record using 'where' :
>select * from tablepassword where password=password('def');
display empty set, how to solve this?
Thanks in advance.
Merry Christmas and Happy New Year
Hadi Tjen