Keeping some choices in the Table for the Field of Type Dropdown

Posted by Mercy on Stack Overflow See other posts from Stack Overflow or by Mercy
Published on 2009-07-21T05:24:46Z Indexed on 2010/04/03 1:03 UTC
Read the original article Hit count: 243

Filed under:

Hi,

i am having a Table named

Attributes

which has

    id form_id label size sequence_no   Type

    1    1      Name 200    1           Text
    2    1      Age  150    2           Number
    3    1     Address 300  3           Textarea
    4    1     Gender   200 4           Dropdown

I am having the doubt how can i keep the Choices of the Field of type "Dropdown" in the Table Eg. For Gender the choices will Male , Female..

Please give me the suggestions...

© Stack Overflow or respective owner

Related posts about mysql