Rumah  >  Artikel  >  php教程  >  PHP数组包含了中国省级行政区划名称及代码

PHP数组包含了中国省级行政区划名称及代码

PHP中文网
PHP中文网asal
2016-05-23 16:38:372731semak imbas

中国行政区划    

<?php 
return array(
	&#39;BEIJING&#39;	=>	array(
		&#39;code&#39;	=>	110000,
		&#39;name&#39;	=>	&#39;北京市&#39;
	),
	&#39;TIANJIN&#39;	=>	array(
		&#39;code&#39;	=>	120000,
		&#39;name&#39;	=>	&#39;天津市&#39;
	),
	&#39;HEBEI&#39;		=>	array(
		&#39;code&#39;	=>	130000,
		&#39;name&#39;	=>	&#39;河北省&#39;
	),
	&#39;SHANXI&#39;	=>	array(
		&#39;code&#39;	=>	140000,
		&#39;name&#39;	=>	&#39;山西省&#39;
	),
	&#39;NEIMENGGU&#39;	=>	array(
		&#39;code&#39;	=>	150000,
		&#39;name&#39;	=>	&#39;内蒙古自治区&#39;
	),
	&#39;LIAONING&#39;	=>	array(
		&#39;code&#39;	=>	210000,
		&#39;name&#39;	=>	&#39;辽宁省&#39;
	),
	&#39;JILING&#39;	=>	array(
		&#39;code&#39;	=>	220000,
		&#39;name&#39;	=>	&#39;吉林省&#39;
	),
	&#39;HEILONGJIANG&#39;	=>	array(
		&#39;code&#39;	=>	230000,
		&#39;name&#39;	=>	&#39;黑龙江省&#39;
	),
	&#39;SHANGHAI&#39;	=>	array(
		&#39;code&#39;	=>	310000,
		&#39;name&#39;	=>	&#39;上海市&#39;
	),
	&#39;JIANGSU&#39;	=>	array(
		&#39;code&#39;	=>	320000,
		&#39;name&#39;	=>	&#39;江苏省&#39;
	),
	&#39;ZHEJIANG&#39;	=>	array(
		&#39;code&#39;	=>	330000,
		&#39;name&#39;	=>	&#39;浙江省&#39;
	),
	&#39;ANHUI&#39;		=>	array(
		&#39;code&#39;	=>	340000,
		&#39;name&#39;	=>	&#39;安徽省&#39;
	),
	&#39;FUJIAN&#39;	=>	array(
		&#39;code&#39;	=>	350000,
		&#39;name&#39;	=>	&#39;福建省&#39;
	),
	&#39;JIANGXI&#39;	=>	array(
		&#39;code&#39;	=>	360000,
		&#39;name&#39;	=>	&#39;江西省&#39;
	),
	&#39;SHANDONG&#39;	=>	array(
		&#39;code&#39;	=>	370000,
		&#39;name&#39;	=>	&#39;山东省&#39;
	),
	&#39;HENAN&#39;		=>	array(
		&#39;code&#39;	=>	410000,
		&#39;name&#39;	=>	&#39;河南省&#39;
	),
	&#39;HUBEI&#39;		=>	array(
		&#39;code&#39;	=>	420000,
		&#39;name&#39;	=>	&#39;湖北省&#39;
	),
	&#39;HUNAN&#39;		=>	array(
		&#39;code&#39;	=>	430000,
		&#39;name&#39;	=>	&#39;湖南省&#39;
	),
	&#39;GUANGDONG&#39;	=>	array(
		&#39;code&#39;	=>	440000,
		&#39;name&#39;	=>	&#39;广东省&#39;
	),
	&#39;GUANGXI&#39;	=>	array(
		&#39;code&#39;	=>	450000,
		&#39;name&#39;	=>	&#39;广西壮族自治区&#39;
	),
	&#39;HAINAN&#39;	=>	array(
		&#39;code&#39;	=>	460000,
		&#39;name&#39;	=>	&#39;海南省&#39;
	),
	&#39;CHONGQING&#39;	=>	array(
		&#39;code&#39;	=>	500000,
		&#39;name&#39;	=>	&#39;重庆市&#39;
	),
	&#39;SICHUAN&#39;	=>	array(
		&#39;code&#39;	=>	510000,
		&#39;name&#39;	=>	&#39;四川省&#39;
	),
	&#39;GUIZHOU&#39;	=>	array(
		&#39;code&#39;	=>	520000,
		&#39;name&#39;	=>	&#39;贵州省&#39;
	),
	&#39;YUNNAN&#39;	=>	array(
		&#39;code&#39;	=>	530000,
		&#39;name&#39;	=>	&#39;云南省&#39;
	),
	&#39;XIZANG&#39;	=>	array(
		&#39;code&#39;	=>	540000,
		&#39;name&#39;	=>	&#39;西藏自治区&#39;
	),
	&#39;SHANXIS&#39;	=>	array(
		&#39;code&#39;	=>	610000,
		&#39;name&#39;	=>	&#39;陕西省&#39;
	),
	&#39;GANSU&#39;		=>	array(
		&#39;code&#39;	=>	620000,
		&#39;name&#39;	=>	&#39;甘肃省&#39;
	),
	&#39;QINGHAI&#39;	=>	array(
		&#39;code&#39;	=>	630000,
		&#39;name&#39;	=>	&#39;青海省&#39;
	),
	&#39;NINGXIA&#39;	=>	array(
		&#39;code&#39;	=>	640000,
		&#39;name&#39;	=>	&#39;宁夏回族自治区&#39;
	),
	&#39;XINJIANG&#39;	=>	array(
		&#39;code&#39;	=>	650000,
		&#39;name&#39;	=>	&#39;新疆维吾尔自治区&#39;
	),
	&#39;TAIWAN&#39;	=>	array(
		&#39;code&#39;	=>	710000,
		&#39;name&#39;	=>	&#39;台湾省&#39;
	),
	&#39;XIANGGANG&#39;	=>	array(
		&#39;code&#39;	=>	810000,
		&#39;name&#39;	=>	&#39;香港特别行政区&#39;
	),
	&#39;AOMEN&#39;	=>	array(
		&#39;code&#39;	=>	820000,
		&#39;name&#39;	=>	&#39;澳门特别行政区&#39;
	),
);

                   

                   

Kenyataan:
Kandungan artikel ini disumbangkan secara sukarela oleh netizen, dan hak cipta adalah milik pengarang asal. Laman web ini tidak memikul tanggungjawab undang-undang yang sepadan. Jika anda menemui sebarang kandungan yang disyaki plagiarisme atau pelanggaran, sila hubungi admin@php.cn
Artikel sebelumnya:PDO链式调用的封装类Artikel seterusnya:PHP SQL 查询封装