943,936 Members | Top Members by Rank

Ad:
  • PHP Discussion Thread
  • Unsolved
  • Views: 870
  • PHP RSS
Apr 27th, 2009
0

Dynamically add country names in a list box

Expand Post »
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.
Reputation Points: 21
Solved Threads: 0
Junior Poster
marjan_m is offline Offline
149 posts
since Apr 2005
Apr 27th, 2009
0

Re: Dynamically add country names in a list box

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.
Reputation Points: 13
Solved Threads: 1
Junior Poster in Training
rickya100 is offline Offline
78 posts
since Mar 2008

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in PHP Forum Timeline: mock shopping cart problem
Next Thread in PHP Forum Timeline: Writing to Text file: no duplicates





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC