SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast RequiemShark's Avatar
    Join Date
    Mar 2002
    Location
    Atlanta, GA
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP/MYSQL get Enum values?

    Is there a way to query the defined values from an enum field in MysQL?
    Basically, I have a color field in a table defined as follows:

    color enum('black','blue','brown','green','pink','red','gold','orange') default NULL

    I'd like to get those values to populate a drop-down list in a form.
    Last edited by RequiemShark; Jun 4, 2003 at 16:11.

  2. #2
    SitePoint Enthusiast RequiemShark's Avatar
    Join Date
    Mar 2002
    Location
    Atlanta, GA
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •