...

View Full Version : insert drop down box into a table?



SMGames
07-10-2007, 11:19 AM
Hi, on my website, when a user registers they select their gender using a drop down box, how will i insert a drop down into a table, what will i use, varchar, char etc. Any one have any ideas.

timgolding
07-10-2007, 02:03 PM
If there is only two options available. e.g. male and female then i suggest using a boolen flag in your table that way you can minimise the capacity of your data.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum