I wrote this code for my website Shophouses.sg after looking at a table on the Urban Redevelopment Authority website.

//Example
dco_get_district("160149");

/* ##################################
CONVERT POSTAL CODE TO DISTRICT NUMBER AND NAME
################################## */

function dco_get_district($postal) {
Read On…