Welcome Guest, Not a member yet? Register   Sign In
Is it possible to get ENUM values from database fields
#1

[eluser]mabright[/eluser]
I have a table in my MySQL database and there are alot of attribute fields. I normally create a foreign key table to hold the possible field values but there were just so many fields that I decided to make them all ENUM and define the allowable values on the field.

Is there a way I can read the values of the ENUM so I can print them as values in my forms drop down boxes?


Messages In This Thread
Is it possible to get ENUM values from database fields - by El Forum - 01-24-2010, 07:01 PM
Is it possible to get ENUM values from database fields - by El Forum - 01-24-2010, 07:15 PM
Is it possible to get ENUM values from database fields - by El Forum - 01-24-2010, 09:03 PM
Is it possible to get ENUM values from database fields - by El Forum - 09-28-2010, 11:57 PM



Theme © iAndrew 2016 - Forum software by © MyBB