Is there a way to display the customer's country on the checkout success page. The ideal would be for something simple such as

PHP Code:
<?php echo CUSTOMER_COUNTRY_SOMETING;?>
but I have found that to be a little much more difficult to do.

To give an idea of what I'm doing. I'm trying to integrate a Survey/Rating script which as options have the customer's email, name and country.

The email and name are easy to get...

PHP Code:
    if($_SESSION['customer_id']) {
      
$sql "SELECT customers_id, customers_firstname, customers_lastname, customers_password, customers_email_address, customers_default_address_id
              FROM " 
TABLE_CUSTOMERS "
              WHERE customers_id = :customersID"
;

      
$sql $db->bindVars($sql':customersID'$_SESSION['customer_id'], 'integer');
      
$check_customer $db->Execute($sql);
      
$customer_email$check_customer->fields['customers_email_address'];
      
$customer_name$check_customer->fields['customers_firstname'] . ' ' $check_customer->fields['customers_lastname'];
    } 
Any idea how to get the country. The best I can do is get a country ID.

Thanks