B-219 Sec-55 Noida, India
+918010221733

Get An Array of Country Names/Codes in Magento

<?php
$countryList = Mage::getResourceModel 
                ('directory/country_collection')
->loadData()
->toOptionArray(false);

echo '<pre>';
print_r( $countryList);
exit('</pre>');
?>
(Visited 37 times, 1 visits today)

Leave a reply