Get The Customer Address List In Magento

$id = 1; // ur cyst id
        $customer = Mage::getModel('customer/customer')
        ->load($id); //put customer id here
        $data = array();
        foreach ($customer->getAddresses() as $address)
        $data = $addresstoArray();
        // var_dump($data);
        echo '<pre>';
        echo '</pre>';

thanks to :

Share on Facebook

About Pragnesh Karia

Pragnesh Karia, Open Source Enthusiast, Software Professional, Software Developer, Technical Lead ,Magento, Joomla ,Joomla LMS , Moodel LMS ,PHP ,Mysql, Ajax, Javascript, Jquery, Linux, Fan of Open Sources , Annet Technologies , SEO Analyst , Mootools