[PHP-DB] password---simple questions but...

2003-12-23 Thread Hadi
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

Re: [PHP-DB] password---simple questions but...

2003-12-23 Thread John W. Holmes
Hadi wrote: Hi, all please help me in this, Iam using MYSQL , my colomn is password varchar(12) insert into tablepassword values ('',password('def')); PASSWORD() always returns a result that's 16 characters. So you should be using a VARCHAR(16) column. -- ---John Holmes... Amazon Wishlist: