Anyone willing to share Philippine zip, town, baranggay, province or city code for dropdown list?

Events happening in the community are now at Drupal community events on www.drupal.org.
ghmercado's picture

Am making sites for Philippine audience and need above.

I could've sworn I read somewhere (might be the php list) that someone was willing to share theirs.

If someone would be so kind as to share this with me, I will use it as per share and share alike policy.

Or if someone knows where I can just get one, please show me the light.

TIA
Gary

Comments

whre you can get one

z_hyperion's picture

kaisa.com motolite.com homeworldfanonline.tk

you can try the postal office.
i used wikipedia. I only view those towns which are available.
as for the zip codes - you can try the postal office. or tel directory (i think there's a section on it..am not sure..)

if i were you, i'd save myself the trouble by substituting input box.. so that there's no need for drop down.

i'm not sure if there's a website that shows all our country's zip codes and barangays. you can try any government office - SSS, or GSIS if they have a list.

goodluck..

kaisa.com motolite.com homeworldfanonline.tk

heres my simple list of

z_hyperion's picture

heres my simple list of cities and provinces

$philippine_cities = array("Alaminos City","Angeles City","Antipolo City","Bacolod City","Bago City","Baguio City","Bais City","Balanga City","Batangas City","Bayawan City","Bisilig City","Butuan City","Cabanatuan City","Cadiz City","Cagayan de Oro City","Calamba City","Calapan City","Calbayog City","Caloocan City","Candon City","Canlaon City","Cauayan City","Cavite City","Cebu City","Cotabato City","Dagupan City","Danao City","Dapitan City","Davao City","Digos City","Dipolog City","Dumaguete City","Escalante City","Gapan City","General Santos City","Gingoog City","Himamaylan City","Iligan City","Iloilo City","Iriga City",
"Isabela City","Island Garden City of Samal","Kabankalan City","Kidapawan City","Koronadal City","La Carlota City","Laoag City","Lapu-Lapu City","Las Piñas City","Legazpi City","Ligao City","Lipa City","Lucena City","Maasin City","Makati City","Malabon City","Malaybalay City","Malolos City","Malolos City","Mandaluyong City","Mandaue City","Manila","Maragondon","Marawi City","Masbate City","Muntinlupa City","Naga City","Olongapo City","Ormoc City","Oroquieta City","Ozamis City","Pagadian City","Palayan City","Legazpi City","Parañaque City","Pasay City","Pasig City","Passi City","Puerto Princesa City","Quezon City","Roxas City","Sagay City","San Carlos City, Negros Occidental","San Carlos City, Pangasinan","San Fernando City, La Union","San Fernando City, Pampanga","San Jose City","San Jose del Monte City","San Pablo City","Santa Rosa City","Santiago City","Muñ City","Silay City","Sipalay City","Sorsogon City","Surigao City","Tabaco City","Tacloban City","Tacurong City",
"Tagaytay City","Tagbilaran City","Tagum City","Talisay City, Cebu", "Talisay City, Negros Occidental","Tanauan City","Tangub City","Tanjay City","Tarlac City","Taguig City","Toledo City","Trece Martires City","Tuguegarao City","Urdaneta City","Valencia City","Valenzuela City","Victorias City","Vigan City","Zamboanga City");

$provinces = array("ARMM"," Bicol Region","CAR","Cagayan Valley","Central Mindanao","Central Luzon", "Caraga", "Central Visayas", "Eastern Visayas", "Ilocos Region", "National Capital Region", "Northern Mindanao", "Southern Mindanao", "Western Mindanao", "Western Visayas");

kaisa.com motolite.com homeworldfanonline.tk

this'll do fine thanks!

ghmercado's picture

this'll do fine thanks!

Here's a site

edcazini's picture

Here's a site http://philippines-archipelago.com/politics/administrative_map.html#regions, with a comprehensive listing per region, province, city/municipality upto the barangay level. Just follow the hierarchy. Plus other info like political district, city type and zip codes. This of course needs manual pulling in to the database you plan to create.

===========================================
Q - If you only have two months to live, what are your top priorities in life?
A1 - To serve God & fellowmen
A2 - To learn Only local images are allowed.
Ed

===========================================
Q - If you only have two months to live, what are your top priorities in life?
A1 - To serve God & fellowmen
A2 - To learn Only local images are allowed.
Ed

Gary, para saan

benc's picture

Gary, para saan gagamitin?

As a user, I find mandatory address dropdowns annoying. Especially in a place like us, chances are that there will be some who won't find their place in the dropdown.

I'd rather type manually than be forced out of registration because a mandatory dropdown field excludes my option.

Unless of course, you can put "Others: specify" :D


User Experience Design
A Podcast for Mac Switchers

try this...

mrgoltra's picture

not sure if this is what you are looking for. http://download.geonames.org

Here is the sample SQL File

"Don't Give Me Fish Teach me how to catch fishs"

ph zip codes

redjumpsuit's picture

i just saw your post. you can use the PH zip codes found here:

https://github.com/ojtibi/philippine-provinces-and-cities-sql

also a useful database of PH gov't contributions here:

https://github.com/elinoretenorio/phgovtcontributions

hope this helps!

thanks so much you have been

ghmercado's picture

thanks so much you have been a great help!

https://github.com/jsdecena/mcpro

jsdecena's picture

Created one, hope someone may find this useful: https://github.com/jsdecena/mcpro

Philippines

Group organizers

Group categories

Post category

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: