ok... im only new to this stuff too, so this probably aint quite going to work. and im at work.... so i cant test it.
but here is my attempt. hope it gives you some ideas atleast.
<?php
$cities = array(
$sydney = array('nth sydney','sth sydney','west sydney','east sydney'),
$melbourne = array('nth melbourne','sth melbourne','west melbourne','east melbourne')
);
foreach ($cities as $city) {
echo $city;
foreach ($city as $location) {
echo $location;
}
}
?>