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

PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to