Groups
Groups
Sign in
Groups
Groups
GeoNames
Conversations
About
Send feedback
Help
Listing states in Alphabetical order
52 views
Skip to first unread message
never_rain
unread,
Oct 24, 2011, 4:03:38 AM
10/24/11
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to geon...@googlegroups.com
I am using the following query to list the states. However, the result is not in alphabetical order. here is the query that I am using.
$xml = '
http://api.geonames.org/search?featureCode=ADM1&maxRows=100&country=US&username=demo
order by ADM1 asc';
I was told by someone on the forum that the results are displayed based on the relevance and I have to do it by myself. I am not sure how can I sort them other then a query. Do you know how to fix this up or probably is there any example.
Thanks,
Faisal
Reply all
Reply to author
Forward
0 new messages