To get a categories URL by category id, use the following code:
$categoryId = 55;
$url = Mage::getModel("catalog/category")->load($categoryId)->getUrl();
Getting a category URL using the category id
You want or need help implementing this solution? Maybe you did not find what you were looking for? Contact me and I will assist you with whatever Magento problem troubles you!