This snippet provides a collection of products within a category
$cat = Mage::getModel('catalog/category')->load(1); $coll = Mage::getResourceModel('catalog/product_collection'); $coll->addCategoryFilter($cat);