手机
当前位置:查字典教程网 >编程开发 >php教程 >Array of country list in PHP with Zend Framework
Array of country list in PHP with Zend Framework
摘要:复制代码代码如下:publicstaticfunctioncountryList($local){$locale=newZend_Local...

复制代码 代码如下:

public static function countryList($local)

{

$locale = new Zend_Locale('en_US');

$countries = ($locale->getTranslationList('Territory', $local, 2));

asort($countries, SORT_LOCALE_STRING);

$countries = array_combine($countries, $countries);

return $countries;

}

【Array of country list in PHP with Zend Framework】相关文章:

php.ini中的request_order推荐

PHP和JAVA的XML-RPC中文问题解决办法

一个php作的文本留言本的例子(二)

一个用php3编写的简单计数器

PHP 和 MySQL 基础教程(二)

vBulletin Forum 2.3.xx SQL Injection

PHP ASCII码与字符串的相互转换

社区(php&&mysql)一

BS结构中使用PHP访问ORACLE LOB

用PHP制作静态网站的模板框架

精品推荐
分类导航