Re: password---simple questions but...

From: Date: Tue, 23 Dec 2003 20:13:34 +0000
Subject: Re: password---simple questions but...
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-32176@lists.php.net to get a copy of this message
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: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com

« previous php.db (#32176) next »