Provincias españa en array


/ Published in: PHP
Save to your folder(s)

Me he basado en el combo que he encontrado en snippler por luman por eso empieza el índice en 2


Copy this code and paste it in your HTML
  1. $provincias = array(
  2. '2' =>'Álava',
  3. '3' =>'Albacete',
  4. '4' =>'Alicante/Alacant',
  5. '5' =>'Almería',
  6. '6' =>'Asturias',
  7. '7' =>'Ávila',
  8. '8' =>'Badajoz',
  9. '9' =>'Barcelona',
  10. '10' =>'Burgos',
  11. '11' =>'Cáceres',
  12. '12' =>'Cádiz',
  13. '13' =>'Cantabria',
  14. '14' =>'Castellón/Castelló',
  15. '15' =>'Ceuta',
  16. '16' =>'Ciudad Real',
  17. '17' =>'Córdoba',
  18. '18' =>'Cuenca',
  19. '19' =>'Girona',
  20. '20' =>'Las Palmas',
  21. '21' =>'Granada',
  22. '22' =>'Guadalajara',
  23. '23' =>'Guipúzcoa',
  24. '24' =>'Huelva',
  25. '25' =>'Huesca',
  26. '26' =>'Illes Balears',
  27. '27' =>'Jaén',
  28. '28' =>'A Coruña',
  29. '29' =>'La Rioja',
  30. '30' =>'León',
  31. '31' =>'Lleida',
  32. '32' =>'Lugo',
  33. '33' =>'Madrid',
  34. '34' =>'Málaga',
  35. '35' =>'Melilla',
  36. '36' =>'Murcia',
  37. '37' =>'Navarra',
  38. '38' =>'Ourense',
  39. '39' =>'Palencia',
  40. '40' =>'Pontevedra',
  41. '41' =>'Salamanca',
  42. '42' =>'Segovia',
  43. '43' =>'Sevilla',
  44. '44' =>'Soria',
  45. '45' =>'Tarragona',
  46. '46' =>'Santa Cruz de Tenerife',
  47. '47' =>'Teruel',
  48. '48' =>'Toledo',
  49. '49' =>'Valencia/Valéncia',
  50. '50' =>'Valladolid',
  51. '51' =>'Vizcaya',
  52. '52' =>'Zamora',
  53. '53' =>'Zaragoza'
  54. );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.