Discussion on Development in Several Different Flavours

Country list formatted for MySQL import

Tagged: ,

To break my hiatus here at dev|sushi I decided to publish something I made for myself while working on a project for my freelance business. The form I am creating requires a country selection box and then later to display country names within the application. Instead of doing a god awful static select box on the form and then storing the full country name in the database, I decided to use the MySQL table approach. Simple and effective and allows you to use a nice space saving char(2) over a varchar(150) in your other tables.

Full Article