schema.sql - Added table "countries" to database, used to translate the Country Codes into Country Names. application/models/dojo_model.php - Replaced original query, which just returned all rows from "dojos" table, with a query joining such table with the new "countries" table. The new query now returns a Country Name, which is also used for sorting the entries. application/views/dojo/dojo.php - Removed array $_countries, as the data it contained is now stored into the database. - Modified loop that shows the Dojos so that it takes the Country Name from the new query added to the dojo_model. - Simplified the "if" statement, by removing the "else", which was not really needed.