Page 1 of 1
country in dropdown list
Posted: Thu Feb 23, 2006 9:44 am
by pleigh
hi, i am making a dropdown list of countries, but typing it in html will take me so long to finish it...any suggestions on where i can get a function for this??thanks in advance..

Posted: Thu Feb 23, 2006 9:51 am
by hawleyjr
Where are you getting your list from? A database? Hard coding it?
Posted: Thu Feb 23, 2006 9:55 am
by pleigh
what is the smartest thing to do?maybe from db, but is that smart??or harcode?
Posted: Thu Feb 23, 2006 10:20 am
by feyd
Tither can be fairly flexible. The decision may come down to "who will be maintaining this?" If the answer is a programmer, hardcoded is fairly okay (it should be a function call), otherwise it should be in the database so it can be updated with new countries and remove any that disappear

Posted: Thu Feb 23, 2006 10:42 am
by pleigh
yup, thanks guys, your advise is very much appreciated..

Posted: Thu Feb 23, 2006 12:20 pm
by a94060
is there anyfunction which can amke an automatic array of the country names? wit the abreeviation.
ex
Posted: Thu Feb 23, 2006 12:22 pm
by feyd
uh, no. The list of countries changes almost weekly these days. Okay, probably not weekly, but it does change fairly often.