Hi,

Can any one please guide me that is there any way in php to add all country names automatically in a list box rather then making a static list of <option>

Thanks for your time.

Hey,

If you do a search for sql list of country names you will get a few downloads that you can import and then just loop through the table and echo em out.

Also you could create a javascript file to preload etc on the client.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.