I'm trying to get all the categories in my Magento website. I've achieved that but they only come back with limited data. I need the name of the category which I'm missing. I've tried using addAttributeToSelect
but that doesn't make any difference. Here is my code.
$cats = Mage::getModel('catalog/category')->getCollection()->addAttributeToSelect('*')->getData();
print_r($cats);