GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
I don't arrive to retrieve the country which is displayed  XML
Forum Index -> General
Author Message
geeka



Joined: 03/06/2015 09:13:08
Messages: 1
Offline

Hello,
I use the function of Geonames to locate countries where we connect. And my problem is that I have to fill in a phone number field at the beginning with a phone in code, it depends on the country telephone code. In my solution, the code works if I select a country, but when the page is initially charged (detected by Geonames country), the country is displayed but I do not get the phone code.
What is the solution?

Example :
country = FRANCE
telephone code = +33
In my code :
country = FRANCE
telephone code = +93 (First country in the list and not that of FRANCE !!)

Thank's
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team