Customer details from customer id Magento

echo “<pre>”;
$customer = Mage::getModel(‘customer/customer’)->load($customerId)->getData();
print_r($customer);

Share