corillo181 Posted April 18, 2006 Share Posted April 18, 2006 my question is simple.. if i put a list value son a html form and i want to get that value into my database do i need to put all the same values in side the ENUM() type? Quote Link to comment Share on other sites More sharing options...
titangf Posted April 18, 2006 Share Posted April 18, 2006 You don't have to do it that way but you can.Think of it this way...If you HTML form that could be the ENUM figure is already limited by a drop down box then essentially the form itself is doing the ENUM for you and thus you wouldn't have to put it into the database that way. You could leave it as a VARCHAR. Now if your database is populating the dropdown box then Yes it need to be an ENUM so that it has values to pull from.Hope that gives you some insite. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.