Last active
May 18, 2021 15:52
-
-
Save wgh000/11371784 to your computer and use it in GitHub Desktop.
Province Italia - Array PHP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$province= array( | |
'AG' => 'Agrigento', | |
'AL' => 'Alessandria', | |
'AN' => 'Ancona', | |
'AO' => 'Aosta', | |
'AR' => 'Arezzo', | |
'AP' => 'Ascoli Piceno', | |
'AT' => 'Asti', | |
'AV' => 'Avellino', | |
'BA' => 'Bari', | |
'BT' => 'Barletta-Andria-Trani', | |
'BL' => 'Belluno', | |
'BN' => 'Benevento', | |
'BG' => 'Bergamo', | |
'BI' => 'Biella', | |
'BO' => 'Bologna', | |
'BZ' => 'Bolzano', | |
'BS' => 'Brescia', | |
'BR' => 'Brindisi', | |
'CA' => 'Cagliari', | |
'CL' => 'Caltanissetta', | |
'CB' => 'Campobasso', | |
'CE' => 'Caserta', | |
'CT' => 'Catania', | |
'CZ' => 'Catanzaro', | |
'CH' => 'Chieti', | |
'CO' => 'Como', | |
'CS' => 'Cosenza', | |
'CR' => 'Cremona', | |
'KR' => 'Crotone', | |
'CN' => 'Cuneo', | |
'EN' => 'Enna', | |
'FM' => 'Fermo', | |
'FE' => 'Ferrara', | |
'FI' => 'Firenze', | |
'FG' => 'Foggia', | |
'FC' => 'Forlì-Cesena', | |
'FR' => 'Frosinone', | |
'GE' => 'Genova', | |
'GO' => 'Gorizia', | |
'GR' => 'Grosseto', | |
'IM' => 'Imperia', | |
'IS' => 'Isernia', | |
'SP' => 'La Spezia', | |
'AQ' => 'L\'Aquila', | |
'LT' => 'Latina', | |
'LE' => 'Lecce', | |
'LC' => 'Lecco', | |
'LI' => 'Livorno', | |
'LO' => 'Lodi', | |
'LU' => 'Lucca', | |
'MC' => 'Macerata', | |
'MN' => 'Mantova', | |
'MS' => 'Massa-Carrara', | |
'MT' => 'Matera', | |
'ME' => 'Messina', | |
'MI' => 'Milano', | |
'MO' => 'Modena', | |
'MB' => 'Monza e della Brianza', | |
'NA' => 'Napoli', | |
'NO' => 'Novara', | |
'NU' => 'Nuoro', | |
'OR' => 'Oristano', | |
'PD' => 'Padova', | |
'PA' => 'Palermo', | |
'PR' => 'Parma', | |
'PV' => 'Pavia', | |
'PG' => 'Perugia', | |
'PU' => 'Pesaro e Urbino', | |
'PE' => 'Pescara', | |
'PC' => 'Piacenza', | |
'PI' => 'Pisa', | |
'PT' => 'Pistoia', | |
'PN' => 'Pordenone', | |
'PZ' => 'Potenza', | |
'PO' => 'Prato', | |
'RG' => 'Ragusa', | |
'RA' => 'Ravenna', | |
'RC' => 'Reggio Calabria', | |
'RE' => 'Reggio Emilia', | |
'RI' => 'Rieti', | |
'RN' => 'Rimini', | |
'RM' => 'Roma', | |
'RO' => 'Rovigo', | |
'SA' => 'Salerno', | |
'SS' => 'Sassari', | |
'SV' => 'Savona', | |
'SI' => 'Siena', | |
'SR' => 'Siracusa', | |
'SO' => 'Sondrio', | |
'SU' => 'Sud Sardegna', | |
'TA' => 'Taranto', | |
'TE' => 'Teramo', | |
'TR' => 'Terni', | |
'TO' => 'Torino', | |
'TP' => 'Trapani', | |
'TN' => 'Trento', | |
'TV' => 'Treviso', | |
'TS' => 'Trieste', | |
'UD' => 'Udine', | |
'VA' => 'Varese', | |
'VE' => 'Venezia', | |
'VB' => 'Verbano-Cusio-Ossola', | |
'VC' => 'Vercelli', | |
'VR' => 'Verona', | |
'VV' => 'Vibo Valentia', | |
'VI' => 'Vicenza', | |
'VT' => 'Viterbo', | |
); |
There are some missing provinces according with
www.comuni-italiani.it/province.html
:
- CI: Carbonia-Iglesias
- OT: Olbia-Tempio
- VS: Medio Campidano
- OG: Ogliastra
they were removed in 2016
source: http://www.regione.sardegna.it/j/v/25?s=306981&v=2&c=348&t=1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
There are some missing provinces according with
www.comuni-italiani.it/province.html
:Here the updated JSON-encoded array: