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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux