Re: mysql - enum
| From: | Ruth Zhai | Date: | Mon, 02 Dec 2002 22:53:27 +0000 |
| Subject: | Re: mysql - enum | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-23779@lists.php.net to get a copy of this message | ||
This is what I use:
SHOW COLUMNS FROM table LIKE "field"
I use the query result for a select field in HTML table.
Ruth
----- Original Message -----
From: "Bastian Vogt" <bastian.vogt@komtel.net>
To: <php-db@lists.php.net>
Sent: Monday, December 02, 2002 11:41 PM
Subject: [PHP-DB] mysql - enum
> Hi,
>
> is it possible to get all possible values of an enum-field from a
> mysql-table in php?
> The values might be changed in the database. Now I've got an
> select-field in my php-app where the user can select each value of the
> enum-field for a new record befor saving...
>
> Thanks for any reply,
> Bastian
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>