RE: [PHP-DB] Re: Update MD5 field
| From: | John W. Holmes | Date: | Tue, 04 Mar 2003 04:49:59 +0000 |
| Subject: | RE: [PHP-DB] Re: Update MD5 field | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-26077@lists.php.net to get a copy of this message | ||
[snip]
> If I understand you correctly, this is probably something like what
> you want to do:
>
> ALTER TABLE foo ADD bar VARCHAR(20);
>
> (don't know how long the field needs to be).
MD5() result is always 32 characters.
---John W. Holmes...
PHP Architect - A monthly magazine for PHP Professionals. Get your copy
today. http://www.phparch.com/