Re: enum and set possible values

From: Date: Tue, 20 Mar 2001 19:44:11 +0000
Subject: Re: enum and set possible values
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-44815@lists.php.net to get a copy of this message
In article <20010320135619.A15974@tutus.mintcity.com>, george@mintcity.com (Michael George) wrote: > So if I have an enum with possible values "Yes" and "No" or a set with > possible values "Single", "Married", "Divorced", > "Widowed", I seek a function > that will return an array of strings containing those possible values. > > Does such a function exist? > > I suppose if not it would be possible to write one from the output of a "show > columns from X" query... You do the latter. -- CC

« previous php.general (#44815) next »