Dealing with ENUM fields
| From: | Becoming Digital | Date: | Mon, 02 Jun 2003 08:40:06 +0000 |
| Subject: | Dealing with ENUM fields | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-28218@lists.php.net to get a copy of this message | ||
I have a field in my database for which there are only four potential values
and, as such, I would like to use an ENUM field. However, I can't find an easy
way to load the "values" of this field into a select form element. Is there a
simple method for doing this or are the only solutions fairly complex? I'm
simply trying to avoid using another table since it will contain only four
elements. Thanks.
Edward Dudlik
Becoming Digital
www.becomingdigital.com