I am having my users to enter their city, state, and country. But my dilemma is how to manage it dynamically so that I can control what is entered while having correct spell
Ok so after several hours I've written an application based on the MySQL world database: MySQL world Setup
The code for the entire application is way to large to put in an answer so I'll provide Pastebin links for each seperate file, aswell as a link to a working example of the script and a download link for the Zip archive.
I'm sure the code can be improved further, but I'll leave that up to you.
Requirements: MySQL world Database / jQuery
Working Example:
Zip Archive Download (DB NOT included!):
I'm working on an updated script due to the popular demands on this question. It will be added soon.