You just fill up your country database with country code and country name. you will find it very easily. make country code as foreign key.
Then give user dropdownlist to select country. dont allow user to type country name.
urtrivedi
Nearly a Posting Virtuoso
1,306 posts since Dec 2008
Reputation Points: 257
Solved Threads: 270
You may give two options for entering MoMA, one dropdown list from moma database which are entered in database and another text box. tell user to select from list and if not found then they may enter it in textbox.
<select name=moma1><option>........</select>
<input type=text name=moma2>
when you update your database if moma1 is having non null value then ignore moma1. if moma1 is null then insert moma2 in your database.
urtrivedi
Nearly a Posting Virtuoso
1,306 posts since Dec 2008
Reputation Points: 257
Solved Threads: 270