Getting a list of all countries

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
matnatalis2012
New Member
New Member
Posts: 2
Joined: Fri Mar 23, 2012 8:33 am

Getting a list of all countries

Post by matnatalis2012 »

Dear all,
I have just started to learn CMS Made Simple module development, and there fore am still very new. Am developing simple registration module, and I want to have a drop down list having all countries. How can I achieve this?
Jos
Support Guru
Support Guru
Posts: 4019
Joined: Wed Sep 05, 2007 8:03 pm
Location: The Netherlands

Re: Getting a list of all countries

Post by Jos »

matnatalis2012
New Member
New Member
Posts: 2
Joined: Fri Mar 23, 2012 8:33 am

Re: Getting a list of all countries

Post by matnatalis2012 »

Thanks. At least I have seen that CMSModule documentation of functions. The CreateInputDropdown() function will need an array, in my case, an array of all countries. I was thinking if there is method may be, which I can just call and populate those countries.
Post Reply

Return to “Developers Discussion”