Likewise, to get any attribute value, we need to first load the product object.
<?php
$product = Mage::getModel('catalog/product')->load($productId);
$attribute = 'manufacturer';
//get attribute details from 'eave/config' model
$attributeDetails = Mage::getModel('eav/config')
->getAttribute('catalog_product',$attribute);
//to get all available data
//$attribute = $attributeDetails->getData();
//load the attribute
$attribute = Mage::getModel('catalog/resource_eav_attribute')
->load($attributeDetails->getAttributeId());
$allOptions = $attribute->getSource()->getAllOptions();
foreach($allOptions as $eachOption) {
echo $eachOption["value"] . " " . $eachOption["label"] . "<br>";
}
?>