Thanks,
I got it working with this:
PHP Code:$country_query = "SELECT entry_country_id FROM " . TABLE_ADDRESS_BOOK . " WHERE customers_id = :customersID";
$country_query = $db->bindVars($country_query, ':customersID', $_SESSION['customer_id'], 'integer');
$check_customer = $db->Execute($country_query);
$customer_country= $check_customer->fields['entry_country_id'];
$country = zen_get_country_name($customer_country);


Reply With Quote

