Ana Sayfa / Kod ve Scriptler / Country Names PHP Class
Country Names PHP Class
Sağlanan MySQL veritabanı tablosundan ülke adlarının listesini kolayca alabileceğiniz ve ayrıca açılır kutu oluşturabileceğiniz CountryNames sınıfı.
- Yayın tarihi5 Ekim 2014
- Son güncelleme5 Ekim 2014
- Canlı demoVar

Overview
Description
This a provide CountryNames class that you can easily get list of country names from provided mysql database table and also build up html select drop down box with country names.
Also this is bundled with simple html5 element creator that used to crate select drop down.
Fields in the database table are
iso2 , iso3, name_en , capital, currency_code, currency_name, telephone
Features
getCountries list- getCoutriesSelectHtml drop down
in db table - iso2 , iso3, name_en , capital, currency_code, currency_name, telephone
Included
- CountryNames.class.php (for main class need to use)
- Html5.class.php (simple html5 builder)
- config.php (database configuration file)
- Db.class.php (pdo data access calss)
- index.php (example usage and instructions)
- install/ db_table_countries.sql (table create sql containing file)
- how_to_use.txt (Installation and setup instruction and helps)
Requirements
- php 5.30+
- mysql 5+
Instructions
How to setup or install These are not much to install and configuration.
1)create table First create a database if you don’t have a database for your application. If you have database already recommend to use that database or still you can create new database. Then find countries table using sql script provided in install/ db_table_countries.sql. Execute db_table_countries.sql content to create countries table in database.
2) database configuration in config.php Open up config.php and fill configuration viable with your database information.
Now we are ready to use CountryNames.
Demo Load index.php to see sample demos and open idex.php and check how codes done.
How to use and further enhancement Codes are well commented and you can modify as you wish and have fun.
Benzer ürünler

Atlas; vitrinler, faturalandırma, sağlama ve müşteri desteği için kendi sunucunuzda barındırılan bir BT iş platformudur.
Yayın: Kasım 2026
Üyelerin kaydırdığı, eşleştiği ve sohbet ettiği; moderasyon, Premium planları ve ödemeleri olan kendi kendine barındırılan bir flört platformu başlatın.
Yayın: Kasım 2026
BuildNest; teklif taleplerini, imzalı tahminleri, proje aşamalarını, fotoğrafları, faturaları ve müşteri portalını yönetir.
Yayın: Kasım 2026
Geliştirici ajansı web sitesi: tek tıkla yönetici demo düğmeleriyle canlı demolar, hizmetler, YouTube videoları, teklif formu. Düz PHP.
Yayın: Kasım 2026
Twerplex; faturalama, sağlama, alan adları, sunucular ve desteği tek bir kendi sunucunuzda barındırılan uygulamada otomatikleştirir.
Yayın: Kasım 2026
CertLoft; görsel tasarımcı, toplu düzenleme, e-posta teslimi, QR doğrulama ve API'li bir sertifika platformudur.
Yayın: Kasım 2026