World Country List – Multiple Function
Features
- Get all Country Name in Array
- Get all Country Two Character Code in Array
- Get all Country Three Character Code in Array
- Get all Country phone code in Array
- Change any country name to country code
- Change any country code to country name
Description:
World CountryList have so many function.
1. The getAllCountryList Function is a simple PHP function what allows getting all country name in array format with ease, the function supports 253 world country names. The function has one parameters, the parameter value is ‘name’.
example : – // require the function.
require_once ‘functionDb.php’;
$countryNameList= $objFunction->getAllCountryList(‘name’); //getting 253 world country name in array
same as if you change parameter value ‘iso’ then you get the all world country two character code, if you change parameter value in ‘phone’ then getting all country phone code.
2. The getCodeToName Function is a simple PHP function what allows you to convert a country code to its country name with ease, the function supports 253 country codes. The function has two parameters, the first parameter is the country code, and the second parameter is character setting. The character setting parameter is optional, and supports 3 values, uppercase, lowercase, and capitalize.
example : – $countryCodeName= $objFunction->getCodeToName(‘us’);
echo $countryCodeName; // returns UNITED STATES
3. The getNameToCode Function is a simple PHP function what allows you to convert a country name to its country code with ease, the function supports 253 country Name. The function has two parameters, the first parameter is the country name, and the second parameter is character setting. The character setting parameter is optional, and supports 3 values, uppercase, lowercase, and capitalize.
example : – $countryNameCodeU= $objFunction->getNameToCode(‘United States’, ‘uppercase’);
echo $countryNameCodeU; // returns US
Note :
1. Update your database credentials in config.php
2.we does not currently provide support for this item.
Feedback is extremely important to us. If you have suggestions or find issues with the product, let us know!
[eltd_button size=”huge-full-width” type=”outline” text=”Download & Demo Links” custom_class=”#” icon_pack=”font_awesome” fa_icon=”” link=”” target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Demo = World Countries List – Multiple Function
[eltd_button size=”huge” type=”” text=”Full Live Demo” custom_class=”” icon_pack=”font_awesome” fa_icon=”fa-laptop” link=”https://codecanyon.net/item/world-countries-list-multiple-function/17121841″ target=”_blank” color=”” hover_color=”” background_color=”” hover_background_color=”” border_color=”” hover_border_color=”” font_size=”” font_weight=”” margin=””]
Kindly Note: We update new contents like WordPress Themes, Plugins, PHP Scripts everyday. But remember that you should never use this items in a commercial website. All the contents posted here for development & testing purpose only. We’re not responsible for any damage, use at your own RISK! We highly recommend to buy World Countries List – Multiple Function from the The Developer ( sunilspr7 ) website. Thank you.
Download = World Countries List – Multiple Function-[Updated].zip