Post a SAMPLE of the related 'country', 'region' and 'city' data entries from your database.

If I can see a sample, I'll try a solution, but I'm not into starting from scratch.