<span style="font-weight: bold;"><?=$customerName;?></span><br>
<?=$address['address'];?><br>
<?=$address['city'];?><br>
<?=$address['postcode'];?>

<? if($address['state_id'] == 9): //Overseas Enquiry. Print the country name
    ?>
    <? ?>
<? else: //Australian Enquiry. Only print the state ?>
    <?=strtoupper($states[$enquiry['BillingAddress']['state_id']]);?>
<?endif; ?>
<br>

<? //INCOMPLETE ?>